[Top][All Lists]

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

Re: mkdir() and group id

From: Thomas Bushnell, BSG
Subject: Re: mkdir() and group id
Date: 26 Apr 2002 14:42:32 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Marcus Brinkmann <marcus@gnu.org> writes:

> On Fri, Apr 26, 2002 at 02:15:53PM -0700, Thomas Bushnell, BSG wrote:
> > I was just told that the setgid bit does get inherited on the new
> > directories. 
> Not in the Hurd, though.  I guess this would only be so if you activate
> the sysvgroups option (assuming you are cool with such an option)

Right.  If you want copy-gid-on-setgid, then you need to inherit
setgid.  If not, then not.

> That's not true.  On the Hurd, the group is always inherited, regardless
> if you are in the group or not.  Is this a bug?

No, I was just remembering incorrectly.  It's fine, though I think the
previous BSD behavior was as I described.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]