[comp.unix.questions] file group permissions

jjw@celerity.UUCP (05/05/87)

>Quoted from <6973@brl-adm.ARPA> ["Re: Access -- a program to give permissions across logins"], by liam%cs.qmc.ac.uk@BRL.ARPA (William Roberts)...
>| The way to do this is to use UNIX group permissions. In 4.2 BSD
>| Files inherit the group ownership of the directory in which
>| they are made (I believe - references in the manual anyone?),

In article <345@tdi2.UUCP> brandon@tdi2.UUCP (Brandon Allbery) writes:
>May be true for BSD, but under System V a file is created with the gid of the
>creator.  I suspect the same is true for BSD, although there may be some kind
>of setgid-directory semantics to get the effect you describe.

The BSD kernel actually makes the file group id equal to the group id of
the parent directory.  No "setgid semantics" are used.  I haven't been able
to find the manual reference (I think it's there somewhere but well hidden).