Directories Setting GID...

Bill Baker web at farpoint.austin.ibm.com
Tue May 14 23:56:56 AEST 1991


>From: somsky at 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 at glasnost.austin.ibm.com
IBM PSP                AWD net: web at farpoint.austin.ibm.com
11400 Burnet Rd.       VNET: WEBAKER AT AUSVMQ
Austin, TX; 78758-2502



More information about the Comp.unix.aix mailing list