*BSD News Article 20540


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!subnet.sub.net!flatlin!pilhuhn!hwr
From: hwr@pilhuhn.sub.org (Heiko W.Rupp)
Subject: Re: bug with ufs file creation
References: <CCyLF6.n6@kithrup.com>
Date: Tue, 7 Sep 1993 08:16:13 GMT
Organization: The home of the Pilhuhn
Message-ID: <CCz5n2.9v7@pilhuhn.sub.org>
Lines: 14

sef@kithrup.com (Sean Eric Fagan) writes:
>*I* consider this a bug.  It exists in every Net/2-derived system I could
>play with, including BSD4.4.  When creating a file, the gid given to the
>file is the gid of the directory it is in, and not the gid of the process
>creating the file.  The following patch fixes that; it will only use the
>gid of the directory if the directory's SGID bit is set.

If I remember right, this is a feature of all BSD-derived systems, so
I wouldn't change this.

-- 
Heiko W.Rupp        Gerwigstr.5        D-76131  Karlsruhe    +49 721 9661521
In an advertisement by a Hong Kong dentist:  Teeth extrcted by the
        latest Methodists.