On Thu, 2003-08-14 at 12:13, Robert Williams wrote:
> Phil Savoie wrote:
> 
> >On August 14, 2003 12:41, Robert Williams wrote:
> >  
> >
> >>I have created a directory that is shared using 'owner.group' access on
> >>a directory.  rwilliams.mygroup is set on database directory.  Since
> >>Redhat uses rwilliams.rwilliams for the user/group as default, it is
> >>causing me some trouble. When a user creates a file under /databases,
> >>they are the only one that can change or delete the file.  I tried chmod
> >>g+s on /database, but that does not work.
> >>
> >>Any ideas?
> >>    
> >>
> >
> >Hi Robert,
> >
> >You may want to create a new group called dbusers or some such and add those 
> >users to that group.  Alternatively, you could, create a more defined groups 
> >structure and then on user creation assign the users accordingly based on 
> >your better defined group structure.
> >
> >Hope this helps you,
> >
> >Phil Savoie
> >
> >  
> >
> 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
> 
> 
that would be the umask command. you would need no add 
umask g+rw
to /etc/profile or some other script that gets executed when the user
logs in.


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

Reply via email to