You are not logged in.

#1 2008-07-02 01:50:18

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

dbus/hal creating files with incorrect owner?

I was checking the permissions on my home directory and I discovered some files in there are owned by root:

$ sudo find ~jon -not -user jon | sudo xargs ls -ld
drwx------ 2 root root 4096 2008-06-14 15:10 /home/jon/.config/gtk-2.0
-rw-r--r-- 1 root root   83 2008-06-14 15:10 /home/jon/.config/gtk-2.0/gtkfilechooser.ini
drwx------ 3 root root 4096 2008-06-14 17:07 /home/jon/.dbus
drwx------ 2 root root 4096 2008-06-14 17:07 /home/jon/.dbus/session-bus
-rw-r--r-- 1 root root  466 2008-06-22 13:49 /home/jon/.dbus/session-bus/fb886a6482353118abe62fe848525577-0
-rw------- 1 root root  696 2008-06-14 16:08 /home/jon/.viminfo

Are these files owned by root for anyone else?  It might just be the result of using sudo/gksudo.

Offline

#2 2008-07-02 08:20:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: dbus/hal creating files with incorrect owner?

no. probably.
just change the owner.

chown -R your_user users .config
same thing for other directory


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB