Re: A new privacy and log scrubber for KDE4, Firefox, & Flash
I can't say I've looked into the file permissions issue, but one way this may be happening is that firefox is deleting and recreating the file in question. For example, to update a confile file sometimes a program will write data to a temporary file, then when that is successful, will delete the original and rename the temporary file to the original. This could explain how firefox is changing the permissions, including on a file owned by root. (One odd thing about linux file permissions is that a user can delete a root-owned file even when that use can't write to the file - it depends on the user's write permission to the folder containing the file.)
You could try setting the t flag on the folder so that only the owner of a file is allowed to delete a file...
Then firefox shouldn't be able to modify a root-owned file. Same for macromedia folders. As far as it changing the permissions on a user-owned file, it's unusual for a program to do so, but nothing says it can't. It's probably recreating the file so the permissions are set to the default for new files on your system.
Originally posted by suplero
You could try setting the t flag on the folder so that only the owner of a file is allowed to delete a file...
Code:
sudo chown root:root ~/.mozilla sudo chmod +t,ugo+rwx ~/.mozilla
Comment