Rehashing My File Permissions Understanding(or lack of it)

Paul Howarth paul at city-fan.org
Tue Aug 23 09:06:39 UTC 2005


Mark Sargent wrote:
> expanding on this a little...when I set the dir to g+s it makes every 
> file saved in the dir have the group's permissions, allowing everyone 
> access, but, how does one set a particular dir so that any file saved to 
> it, has particular permissions, like say, rwxrwxr--? Now, when I save a 
> new file to the dir, it saves as the default permissions, rw-r--r--. 

You can't. You'd have to change your umask from 022 to 002 to do this, 
and it would affect all files/directories you created, not just the ones 
in that directory.

Paul.




More information about the fedora-list mailing list