Groups and Directories

Tim Writer tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Tue Apr 10 18:32:56 UTC 2007


lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) writes:

> On Mon, Apr 09, 2007 at 01:28:50PM -0400, Lance F. Squire wrote:
>> correction!:
>> user, user, rwxr-xr-x
>> 
>> user, group, rwxrwxr-x
>
> Well setting the directory to g+ws will take care of the group name, but
> doesn't fix the permissions.  Changing the umask setting for all the
> users might take care of it though.
>
> A umask of 0002 certainly makes it do the right thing for me.  The
> default is normally 0022 on most systems.

This approach works best when you're using a "user private groups" scheme,
i.e. every user has his/her own primary group. This way, the more
permissive umask doesn't provide access you don't want. For additional
detail, see:

   http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-users-groups-private-groups.html

-- 
tim writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org>                             starnix care inc.
647.722.5301                                      toronto, ontario, canada
http://www.starnix.com              professional linux services & products
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list