On Thursday 25 September 2003 11:35 am, Sean Estabrooks wrote: > "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote: > > Hello, <snip> > > Now, the problem is, if user d put a file in the /home/sausage, the > > ownership > > of the file is d.cooluser instead of d.sausage, > > > > [EMAIL PROTECTED] sausage]# ls -lah > > total 16k > > drwxrwxr-x 2 root sausage 4.0k Sep 25 11:01 . > > drwxr-xr-x 46 root root 4.0k Sep 25 10:59 .. > > -rw-r--r-- 1 d cooluser 6.6k Sep 25 11:01 KlugGlosT.DOC > > > > > > thus the other member of sausage which are not member of cooluser can't > > write > > to the file. What do I need to do so that the default ownership and > > permission in the directory sausage is root.sausage and rwx for the > > group? > > > > Thanks in advance for any help > > RDB > > -- > > Reuben, > > You need to tell Linux that all files created in that directory should be > created with the Directory group instead of the users group: > > chmod g+s /home/sausage
Thanks, that's work. But only the group permission is still r instead of rw. I read man chmod and play around but still got nowhere. Do I need to change the umask for the user instead? Also, if I do ls -la /home, I see the sausage directory listed as drwxrwsr-x 2 root sausage 4.0k Sep 25 12:10 sausage my question is, what's "s" in the group permission? Thanks -- Reuben D. Budiardja Department of Physics and Astronomy The University of Tennessee, Knoxville, TN ------------------------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list