Subject: Re: where are directory group permissions documented?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny Billquist <bqt@softjar.se>
List: netbsd-help
Date: 06/07/2007 23:47:08
tor 2007-06-07 klockan 23.33 skrev Jeremy C. Reed:
> 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)?

open(2)

> 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.

Don't seem to be a way of doing that. (by reading the man-pages anyway)

	Johnny