> > That's what BSD just does - see open(2):
> > 
> >      When a new file is created it is given the group of the directory which
> >      contains it.
> 
> That's pretty weird (but quite correct). Just checked on NetBSD and found
> the same. I would have expected this behaviour only if the SGID bit was set,
> not by default.

It's always been the BSD behavior. Solaris and and some other SVR4
systems do the sgid thing in order to make the BSD behavior possible.

Steinar Haug, Nethelp consulting, [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to