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 20:05:12 +0200
User-agent: Mutt/1.3.28i

On Fri, Apr 26, 2002 at 09:57:44AM -0700, Thomas Bushnell, BSG wrote:
> The reason why the copy-gid-from directory behavior is better:

How about making it a libdiskfs option (assuming it is diskfs making this
decision)?  Linux has this option for mount:

       grpid or bsdgroups / nogrpid or sysvgroups
              These options define what group id a newly created file gets. 
              When grpid is set,  it  takes the group id of the directory in
              which it is created; otherwise (the default) it takes the fsgid
              of the  current process,  unless  the directory  has  the  setgid
              bit set, in which case it takes the gid from the parent directory,
              and also gets the setgid bit set  if  it  is a  directory itself.

I don't mind having the BSD behaviour as the default.

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]