LinHES Forums
http://forum.linhes.org/

Tip:: Don't run firefox as root
http://forum.linhes.org/viewtopic.php?f=24&t=21859
Page 1 of 1

Author:  mattbatt [ Thu Oct 28, 2010 9:24 pm ]
Post subject:  Tip:: Don't run firefox as root

I was trying to update firefox so I thought that I would be a cleaver monkey and do a
Code:
sudo firefox

Oops it seems that firefox saves the ~/.mozilla/firefox/cookies.sqlite-journal and ./places.sqlite-journal on exit. So of course it saves the files with root permissions. easy enough to fix with a little.
Code:
 sudo chown mythtv:mythtv ~/.mozilla/firefox/cookies.sqlite-journal
sudo chown mythtv:mythtv ~/.mozilla/firefox/places.sqlite-journal.

Well I won't do that again.

Author:  LastToKnow0 [ Fri Oct 29, 2010 12:52 pm ]
Post subject: 

Ah, thanks! I was wondering which files I'd managed to mess up the permissions on.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/