Bug 205993

Summary: Running kate with sudo for the first time wreck havoc with permissions in temporary files in /tmp and /var/tmp
Product: [Frameworks and Libraries] kdelibs Reporter: fredoche
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christoph
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description fredoche 2009-09-02 15:08:43 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Running kate with sudo wreck havoc with permissions in temporary files in /tmp and /var/tmp
I know have a lot of warning such as the one following when apt-get installing konversation or any kde app which require post-installation configuration.

Error: "/tmp/kde-fredf6" is owned by uid 1000 instead of uid 0.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
<unknown program name>(14463)/ KStartupInfo::createNewStartupId: creating:  "fredb;1251896402;815342;14463_TIME0" : "unnamed app"
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
<unknown program name>(14499)/ KStartupInfo::createNewStartupId: creating:  "fredb;1251896402;815866;14499_TIME0" : "unnamed app"
kbuildsycoca4 running...
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-fredf6" is owned by uid 1000 instead of uid 0.
Comment 1 Christoph Cullmann 2010-02-16 18:29:41 UTC
That is a generic problem, if any, I would not start Kate or any other KDE application as root.
Comment 2 Dominik Haumann 2010-05-23 00:41:54 UTC

*** This bug has been marked as a duplicate of bug 209968 ***