Firefox bookmarks gone! (more info)

Anonymous ulist at gs1.ubuntuforums.org
Sun Oct 10 07:46:28 UTC 2004


> > Yup, that would be it. It loaded root's empty bookmark file
and saved it
> > over yours. Beware.
>
> Yeah, that happened to me too. How's that for screwed up
behaviour...

it's a byproduct of running a application like firefox as root via  a
simple sudo.

To get a proper "root environment" for Firefox, you need to do
something
like "sudo su - " then run firefox, which this time will be exactly as
if you were logged on as root via X.

Just compare the output from the environment variable $HOME done from
a normal "sudo -s"  versus one done with "sudo su - ":

$ sudo -s
# echo $HOME
/home/daniel

$ sudo su -
#  echo $HOME
/root


Now you can probably see why running "sudo firefox" will problem
create problesm once firefox start changing things in your .mozilla
directory in your home directory, and not root's .mozilla.  That's why
the bookmarks file got clobbered.

--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users


-- 
Anonymous




More information about the ubuntu-users mailing list