Results 1 to 7 of 7

Thread: Weird problem with kate

  1. #1
    Join Date
    Jan 2006
    Beans
    292
    Distro
    Ubuntu 13.04 Raring Ringtail

    Weird problem with kate

    Hi,

    I just installed Kubuntu Hardy Heron. Whenever, I use kate to open any file I get these messages on the konsole:
    trying to create local folder /home/ss/.kde/share/apps/kate/sessions: Permission denied
    trying to create local folder /home/ss/.kde/share/apps/kate/sessions: Permission denied
    trying to create local folder /home/ss/.kde/share/apps/kate/sessions: Permission denied

    I never got these messages on Gutsy, so was just wondering what was going on.

    Thanks.
    Custom Build
    WIndows 7 64-bit and Ubuntu 13.04 64-bit

  2. #2
    Join Date
    Jan 2008
    Location
    United Kingdom
    Beans
    195
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Weird problem with kate

    Kate is trying to create a sessions folder in a place which it doesn't have permission to do so. If you run Kate as root does it do the same? I'm not suggesting thats a good idea of course but it would prove me to be correct.


    You can read about Sessions here:
    HTML Code:
    http://www.alweb.dk/blog/anders/kate_named_sessions

    Good luck!

  3. #3
    Join Date
    Apr 2005
    Location
    Massachusetts, USA
    Beans
    1,578
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Re: Weird problem with kate

    Please run
    Code:
    ls -l ~/.kde/share
    and show us the output..
    Registered Linux User #446796
    Registered Ubuntu User #13489

  4. #4
    Join Date
    Jan 2006
    Beans
    292
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Weird problem with kate

    Quote Originally Posted by Cypher View Post
    Please run
    Code:
    ls -l ~/.kde/share
    and show us the output..
    The output is:
    total 32
    drwx------ 2 ss ss 4096 2008-06-05 18:19 applnk
    drwx------ 26 ss ss 4096 2008-06-05 22:09 apps
    drwx------ 6 ss ss 4096 2008-06-06 10:44 config
    drwx------ 2 ss ss 4096 2008-06-05 18:19 locale
    drwx------ 6 ss ss 4096 2008-06-05 22:02 mimelnk
    drwx------ 2 ss ss 4096 2008-06-05 18:19 services
    drwx------ 2 ss ss 4096 2008-06-05 18:19 servicetypes
    drwx------ 2 ss ss 4096 2008-06-05 21:24 wallpapers

    I am ss the user and it seems that I have all the 3 permissions for all the files here....

    I do not get the same message when I run as root, however, I do get some other "errors". The reason for the quotes is because, the messages call it an error but it still runs properly. Here are the errors I get when I run as root,
    Error: "/var/tmp/kdecache-ss" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/kde-ss" is owned by uid 1000 instead of uid 0.
    Error: "/tmp/ksocket-ss" is owned by uid 1000 instead of uid 0.

    Thanks.
    Custom Build
    WIndows 7 64-bit and Ubuntu 13.04 64-bit

  5. #5
    Join Date
    Jan 2006
    Beans
    292
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Weird problem with kate

    Just found something. This thing does not happen with kwrite but only with kate.
    Custom Build
    WIndows 7 64-bit and Ubuntu 13.04 64-bit

  6. #6
    Join Date
    Jun 2007
    Beans
    290
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: Weird problem with kate

    Try this:
    Code:
    sudo chown -R ss.ss .kde/*
    What this does is set the owner of everything in the KDE directory - and sub-directories - to your user.

    My supposition is that when you were "sudo'd" to root, you ran Kate, which re-set the user/rights for the Kate-specific config and rc files.
    E. A. (Ed) Graham, Jr.
    Linux User #28251
    Professional Java Geek

  7. #7
    Join Date
    Jan 2006
    Beans
    292
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Weird problem with kate

    Quote Originally Posted by txcrackers View Post
    Try this:
    Code:
    sudo chown -R ss.ss .kde/*
    What this does is set the owner of everything in the KDE directory - and sub-directories - to your user.

    My supposition is that when you were "sudo'd" to root, you ran Kate, which re-set the user/rights for the Kate-specific config and rc files.
    Hey, thanks that worked. But I still dont understand why that did not happen when I was using kwrite.
    Custom Build
    WIndows 7 64-bit and Ubuntu 13.04 64-bit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •