I am trying to create a shareable directory, where all newly created files will 
have group rwx
permissions assigned.

I followed the example found at:
http://www.gentoo.org/doc/en/articles/lpi-101-intermediate-p3.xml#doc_chap3_sect19

and preformed the following steps:

mkdir /home/share
chgrp users /home/share
chmod g+s /home/share

however, when user1 preforms 'echo hello > ./hello.txt' 
from within share the file has the following permissions:

drwxrwsr--  8 root    users    4096 Oct 16 20:53 .
-rw-r--r--  1 user1   users       6 Oct 16 20:53 hello.txt

and user2 is not able to modify this new created file.  I know that I can 
execute a umask every
time the users log in to insure that all new created files will have the 
correct premissions, but
is this really the correct what to handle this problem?

Can anyone point me in the write direction?

Thanks for the help.

Regards,

Richard Broersma Jr.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to