kde-config creates $HOME/.kde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdelibs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdelibs4c2a
kde-config creates the '$HOME/
To reproduce this issue, do the following:
$ rm -rf ~/.kde
$ ls -ld ~/.kde
ls: /home/weaver/.kde: No such file or directory
$ sudo kde-config
[sudo] password for weaver:
$ ls -ld ~/.kde
drwx------ 3 root root 4096 2008-09-09 16:32 /home/weaver/.kde
$ rm -rf .kde
rm: cannot chdir from `.' to `.kde': Permission denied
Another easier way to reproduce the issue is to tweak $HOME:
$ mkdir /tmp/decoy
$ HOME=/tmp/decoy kde-config
$ ls -ld /tmp/decoy/.kde
drwx------ 3 weaver weaver 4096 2008-09-09 16:41 /tmp/decoy/.kde
This bug happens on both Ubuntu 7.10 and Ubuntu 8.04, but strangely not on my Debian Testing system.
Any situation that would cause this would arise from launching KDE apps with sudo rather than kdesudo or gksu.