> >
> This is similiar to what I have set up now.  The thing is users can add 
> a file to the database dir (which has 'jarob' as the group), and all 
> users can read the files.  But no one besides the creator of the file 
> can change or delete it.  I have to go in manually and set g+w on the 
> files.  Is there a way for g+w to be set when a new file is created?  
> Basically I want to inherit the g+w setting of the directory.
> 
> Thanks again
> 
> 

Hi Robert,

You need to set your users umask for example to 007 which will mean that
files they create have full permissions for group.   you've already
changed the directory so that all files created in it have the
same group which is proper.    When users create files outside
of that directory they will be created with the users private group
thus security is not compromised.

I suspect you're not using RedHat 9 but for it, the umask is set in
/etc/bashrc and is 002 which would work properly for you.   

Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to