Subject: Re: where are directory group permissions documented?
To: Jeremy C.Reed <reed@reedmedia.net>
From: Chuck Swiger <cswiger@mac.com>
List: netbsd-help
Date: 06/07/2007 14:51:34
Hi, Jeremy--

On Jun 7, 2007, at 2:33 PM, Jeremy C. Reed 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)?

It probably should be documented in chmod(1), chmod(2), and/or mount 
(8), if it isn't already.

> Linux doesn't do that by default and calls it "BSD semantics".  
> Linux can
> enable that with S_ISGID bit.

Yep, that's right.

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

Does NetBSD's mount have the nosuid or suiddir options?

-- 
-Chuck