Re: Inheriting group ownership under Red Hat Linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On June 24, 2004 06:59 pm, Matthew Melvin wrote:
> On Thu, 24 Jun 2004 at 10:51am (-0700), Carl Riches wrote:
> > 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.
>
> Although it sounds like the chmod has fixed your problem, it may be worth
> noting that if you mount a filesystem with the 'grpid' option under linux
> it will behave the same as you would expect from your other *nx systems.
>
> M.
>
> --
> WebCentral Pty Ltd           Australia's #1 Internet Web Hosting Company
> Level 5, 100 Wickham St.         Network Operations - Senior Systems Eng
> PO Box 930, Fortitude Valley.                     phone: +61 7 3230 7371
> Queensland, Australia 4006.                       pgp key id: 0x900E515F


Hi,
As long as you want the whole fs to act the same, then that is a better 
solution.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux