Rehashing My File Permissions Understanding(or lack of it)

Jay Paulson jpaulson at sedl.org
Tue Aug 23 13:09:31 UTC 2005


I was under the impression that changing the umask was a possible 
security risk.  Am I correct in thinking that?

jay

On Aug 23, 2005, at 4:06 AM, Paul Howarth wrote:

> 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.
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>





More information about the fedora-list mailing list