On Sun, Feb 19, 2006 at 10:23:35AM +0100, Lionel Elie Mamane wrote: > On Sat, Feb 18, 2006 at 03:30:14PM +0200, Tzafrir Cohen wrote: > > On Sat, Feb 18, 2006 at 01:37:47PM +0200, Oleg Goldshmidt wrote: > >> Omer Zak <[EMAIL PROTECTED]> writes: > > >>> However, when a directory is protected, then the files inside it are > >>> protected as well. > > >> Not quite true. > > > [EMAIL PROTECTED]:~$ ls -la ~/.mozilla/ > > drwx------ 3 tzafrir tzafrir 128 2005-11-26 16:24 . > > > So .mozilla itself is not even group readable. So not even someone > > from my personal group can read any file there. Let alone modify it. > > If your home is group-writable, that person can do: > > mv ~tzafrir/.mozilla ~tzafrir/.moozilla > mkdir ~tzafrir/.mozilla > > and start creating files in there.
That's a big *if*. But in fact, you could see that my home directory was not group writable. Requoting my message: > [EMAIL PROTECTED]:~$ ls -la ~/.mozilla/ > total 9 > drwx------ 3 tzafrir tzafrir 128 2005-11-26 16:24 . > drwxr-xr-x 28 tzafrir tzafrir 1456 2006-02-18 15:19 .. I am not aware of any distro that has group-writable home dirs by default. And if one is really looking for troubles, they why not go all the way and chmod 777 ~ ? -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
