Subject: Re: where are directory group permissions documented?
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-help
Date: 06/08/2007 18:22:47
In article <Pine.NEB.4.64.0706071629130.1832@glacier.reedmedia.net>,
Jeremy C. Reed <reed@reedmedia.net> wrote:
>What man page(s) discuss that when a file is created it inherits the group 
>ID of its directory (instead of the gid of the creating process)?
>
>Linux doesn't do that by default and calls it "BSD semantics". Linux can 
>enable that with S_ISGID bit.
>
>Can it be disabled on a BSD system? In other words on NetBSD, how to make 
>it so new files are automatically created with the group of creating 
>process (instead of the group of the directory)? I am just curious and I 
>don't need this.

There is currently no way. I wanted to change this a while ago so that
NFS interoperability between NetBSD and other systems would improve,
but I feared the wrath of the BSD gods.

christos