bug-hurd
[Top][All Lists]
Advanced

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

Re: mkdir() and group id


From: Marcus Brinkmann
Subject: Re: mkdir() and group id
Date: Fri, 26 Apr 2002 19:58:08 +0200
User-agent: Mutt/1.3.28i

On Fri, Apr 26, 2002 at 09:57:44AM -0700, Thomas Bushnell, BSG wrote:
> Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> 
> > > I think that I prefer Linux's behaviour.
> > 
> > I think, too, esp because of the sgid flag.  I wonder what Thomas thinks.
> 
> The reason why the copy-gid-from directory behavior is better:
> 
> Imagine a rich set of groups on your computer--representing protection
> domains for actual groups of actual people.
> 
> A given project might be group "foobie", and all the people working on
> that project are in the group.  They use a umask of 002.  Everything
> works Just Great!  Because when they create files or directories
> inside the project, they automatically have the *group* set to
> "foobie", even though the primary egid of the user might be
> "user-category-6" or something like that.

Isn't that what the sgid flag allows you to do if you want it?
I see how this behaviour is useful, but I don't see why it is better to only
have the sgid behaviour if you can have both, sgid or non-sgid behaviour,
and choose for any given directory what you want.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

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