[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: File inheriting Directory Permissions.



Isn't umask for all directories?  What I want is inherited rights.  I want
all the files ing /a/b/c to have all the same rights as c.

On 9/22/03 1:45 PM, "Jay Crews" <jpc jaycrews com> wrote:

> A. John Peters writes....
>> 
>> How do I get new files to accept directory permissions.  If I have 660 on
>> the dir I want 660 on any new files.  I am sure I have done this before but
>> have forgotten how.  Can seem to do a correct search on the archives or
>> Google to find the method.  Guess I am having a brain dead Monday
> 
> Don't know about getting it to take the privs of the
> dir, but umask will give set the default for new file privs.
> 'umask 077' will give you file privs the same as 'chmod 700'
> Works just the opposite.  The bits you turn on in umask are the
> ones you block out in the file priv.
> Put this in your .bashrc
> 
> 
>> 
>> John
>> 
>> 
>> _______________________________________________
>> Redhat-install-list mailing list
>> Redhat-install-list redhat com
>> https://www.redhat.com/mailman/listinfo/redhat-install-list
>> To Unsubscribe Go To ABOVE URL or send a message to:
>> redhat-install-list-request redhat com
>> Subject: unsubscribe
>> 
> 
> 
> -- Jay Crews
> jpc jaycrews com
> 
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]