Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!farpoint.austin.ibm.com!web From: web@farpoint.austin.ibm.com (Bill Baker) Newsgroups: comp.unix.aix Subject: Re: Directories Setting GID... Message-ID: <7559@awdprime.UUCP> Date: 14 May 91 13:56:56 GMT References: <715@aos.brl.mil> Sender: news@awdprime.UUCP Organization: IBM AWD, Austin Lines: 20 >From: somsky@brl.mil (William R. Somsky) >Anyone want to tell me why directories >are created with the set-gid bit turned on? The set-gid bit determines how the group id of new files is set. If the set-gid bit is on, the file inherits the group id from the directory. If not, the file inherits the group id from the effective group id of the process. This is a compromise between BSD and SysV. I believe this functionality is emerging as a standard; it is now part of the third edition SVID. Enjoy, web -- Bill Baker Internet: web@glasnost.austin.ibm.com IBM PSP AWD net: web@farpoint.austin.ibm.com 11400 Burnet Rd. VNET: WEBAKER AT AUSVMQ Austin, TX; 78758-2502