Firefox lock file?

Patton Echols p.echols at comcast.net
Wed Feb 11 01:58:24 UTC 2009


On 02/10/2009 04:36 PM, Ray Parrish wrote:
> NoOp wrote:
>   
>> On 02/10/2009 06:48 AM, Smoot Carl-Mitchell wrote:
>> [snips]
>>
>> You can find out if files in your home directory are
>>   
>>     
>>> owned by a user other than yourself by running in your home directory:
>>>
>>> find . ! -user username -ls
>>>
>>> This will give you a list of the files with the wrong ownership.
>>>     
>>>       
>> Good suggestion. You might want to pipe that to a text file so that you
>> can easily view it if the output is too long:
>>
>> find . ! -user username -ls > ownership
>>
>>
>>   
>>     
> I tried to reply to this a couple of hours ago, but the message got 
> passed to the moderator for being too big. I've also been a bit slow in 
> answering due to being sick.
>
> Here are the error messages tossed by the above command -
>
> ray at ray-desktop:~$ cd ~/
> ray at ray-desktop:~$ find . ! -user ray -ls > ownership.txt
> find: ./.local/share/Trash/files/rkhunter-1.3.4/files: Permission denied
> find: ./.synaptic: Permission denied
> find: ./.mozilla/default/grybzfit.slt: Permission denied
> find: ./.kde4/share/apps/kgrubeditor: Permission denied
> find: ./.dbus: Permission denied
> find: ./.gconf/desktop/gnome/url-handlers/rtsp: Permission denied
> find: ./.gconf/apps/firestarter/client/filter: Permission denied
> find: ./.gconf/apps/firestarter/firewall: Permission denied
> find: ./.gconf/apps/gnome-settings/EtherApe: Permission denied
> find: ./.gconf/apps/gedit-2/preferences/editor/current_line: Permission 
> denied
> find: ./.gconf/apps/gedit-2/preferences/editor/colors: Permission denied
> find: ./.gconf/apps/totem/plugins/youtube: Permission denied
>
> And the output of the command to the file is posted at -
>
> http://www.rayslinks.com/ownership.txt
>
> I'm not in a hurry to issue a broadcast chown on these files, and would 
> like to know if anyone can tell me which ones need to be moved back to 
> their original places, and where that might be. I still can't believe I 
> was stupid enough to move them in the first place.
>
> Later, Ray Parrish
>
>   
I'm not sure I can directly answer that question "which to move."  When 
I run the analogous command (without bothering to output to a text file) 
here is what I get on my Hardy laptop:

patton at laptop:~$ find . ! -user patton -ls
197170    4 -rw-r--r--   1 root     root           94 Jan 12  2007 
./.mozilla-thunderbird/profiles.bak
197456    4 -rw-------   1 root     root         2881 May 23  2007 
./.netwag.ses
409787    4 drwxr-xr-x   3 root     root         4096 Mar  6  2007 
./.subversion
409788    4 drwx------   5 root     root         4096 Mar  6  2007 
./.subversion/auth
find: ./.subversion/auth: Permission denied
409792    8 -rw-r--r--   1 root     root         4277 Mar  6  2007 
./.subversion/README.txt
409793    4 -rw-r--r--   1 root     root         3270 Mar  6  2007 
./.subversion/servers
409794    8 -rw-r--r--   1 root     root         4731 Mar  6  2007 
./.subversion/config
205388    4 -rwxrwxrwx   1 root     root          200 Aug  8  2007 
./Notes/easycam


Sure looks to me like most everything should belong to you, not root.  
For example, I reversed the command and limited the output like this:
 $ find . ! -user root -ls | grep .gconf/apps/file-roller
196811    4 drwx------   6 patton   patton       4096 Feb  8  2007 
./.gconf/apps/file-roller
196848    4 drwx------   2 patton   patton       4096 Jan 22 00:03 
./.gconf/apps/file-roller/listing
7340066    4 -rw-------   1 patton   patton        639 Jan 22 00:03 
./.gconf/apps/file-roller/listing/%gconf.xml
196847    0 -rw-------   1 patton   patton          0 Jan  9  2007 
./.gconf/apps/file-roller/%gconf.xml
196850    4 drwx------   2 patton   patton       4096 Jan  9  2007 
./.gconf/apps/file-roller/general
196851    4 -rw-------   1 patton   patton        144 Jan  9  2007 
./.gconf/apps/file-roller/general/%gconf.xml
196852    4 drwx------   2 patton   patton       4096 Jan 22 00:03 
./.gconf/apps/file-roller/ui
7405579    4 -rw-------   1 patton   patton        326 Jan 22 00:03 
./.gconf/apps/file-roller/ui/%gconf.xml


You might wait to see if anyone chimes in with a warning in ALL CAPS, 
but otherwise (in my rank amateur opinion) I think a chown of your home 
directory might be in order.






More information about the ubuntu-users mailing list