Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 1999 12:45:38 +0200
From:      sthaug@nethelp.no
To:        gram@cequrux.com
Cc:        hackers@freebsd.org
Subject:   Re: Weird /tmp behaviour
Message-ID:  <53285.941107538@verdi.nethelp.no>
In-Reply-To: Your message of "Thu, 28 Oct 1999 12:23:35 %2B0200"
References:  <99102812260305.03657@cequrux.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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, sthaug@nethelp.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53285.941107538>