From owner-freebsd-hackers Thu Oct 28 3:45:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 106A814CF1 for ; Thu, 28 Oct 1999 03:45:42 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 53287 invoked by uid 1001); 28 Oct 1999 10:45:38 +0000 (GMT) To: gram@cequrux.com Cc: hackers@freebsd.org Subject: Re: Weird /tmp behaviour From: sthaug@nethelp.no In-Reply-To: Your message of "Thu, 28 Oct 1999 12:23:35 +0200" References: <99102812260305.03657@cequrux.com> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 28 Oct 1999 12:45:38 +0200 Message-ID: <53285.941107538@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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