Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 1997 01:20:05 -0700 (PDT)
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-bugs
Subject:   Re: kern/4418: Sticky directories change file group
Message-ID:  <199709060820.BAA02481@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/4418; it has been noted by GNATS.

From: j@uriah.heep.sax.de (J Wunsch)
To: dbx@atmos.washington.edu
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/4418: Sticky directories change file group
Date: Sat, 6 Sep 1997 09:33:52 +0200

 As dbx@atmos.washington.edu wrote:
 
 > If a directory has a sticky bit set, it will change the group ownership
 > of any file created in that directory to the group owning the directory.
 
 Any file created anywhere in a BSD filesystem will get the group
 ownership of the parent directory.  This is done on purpose, and is
 often referred to as the BSD group semantics.  Posix allows for this
 as an option.
 
 What you've seen on some other systems is that they by default follow
 the SysV semantics, and emulate the BSD semantics if the sgid bit is
 set on the parent directory.  *BSD doesn't allow for an emultion of
 the SysV semantics at all.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)



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