Re: where are directory group permissions documented?

Chuck Swiger <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.