On Thu, Feb 20, 2003 at 03:11:18PM +0000, Daniel Bye wrote:
> On Thu, Feb 20, 2003 at 04:01:28PM +0100, Toni Schmidbauer wrote:
> > On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> > > -rw-r--r--  1 tuc  wheel  0 Feb 20 09:35 /tmp/tuc
> > 
> > pinhead@aeolus [/tmp] $ ls -ld /tmp/
> > drwxrwxrwt  14 root  wheel  1536 Feb 20 15:57 /tmp//
> > 
> > the sticky bit set for /tmp. thats the reason why all files have
> > gid wheel.
> 
> Really?  I thought setting the sgid bit on a directory caused this
> behaviour...

On Solaris, yes.

On BSD, no.
New files take on the same group ownership as the directory they are in.

Ceri

-- 
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
                                           -- www.chatterboxchallenge.com

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

Reply via email to