Inheriting group ownership under Red Hat Linux?
Carl Riches
riches at ms.washington.edu
Thu Jun 24 17:51:03 UTC 2004
On Wed, 23 Jun 2004, Pete Nesbitt wrote:
>
> Hi,
> What Unix are you using? Solaris works the same as RH.
This is how it worked under Ultrix, and later under OSF1/Digital Unix/
Compaq Tru64 Unix.
> Anyway, use "chmod 2775 dir_name" (not 1775 which sets suid)
> That sets the directory to SGID and will result in any files or sub-dirs
> created within 'dir_name' will have the creators owner and the directories
> group.
> If you prefer letters instead of the nuimber permissions,
> it is "chmod g+s dir_name"
Thanks. Actually, I was able to answer this question myself doing a web
search on the terms "linux inherit group ownership". It took writing to
this mailing list before I was able to make a coherent enough statement of
the problem to do the web search.
> You may also want to run over the existing files with
> "chown -R group_name dir_name"
> --
Thanks,
Carl
Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350 voice: 206-543-5082 or 206-616-3636
University of Washington fax: 206-543-0397
Seattle, WA 98195-4350 internet: riches at ms.washington.edu
More information about the redhat-list
mailing list