Subject: Re: chmod g+s on directory
To: I can teach you how to fish... <>
From: Manuel Bouyer <>
List: current-users
Date: 05/13/1994 18:25:48 wrote:
> [ I realise most of us know what NFS does and I apologise if this wasted
>   too much bandwidth.  I think I understand what happens, more or less;
>   may I clarify for those who are even fuzzier on this than I am? ]
> For those who are unclear on NFS (forgive the redundancy of the following
> thought):
> Chris is right on the money here.  If you're a NetBSD machine and you're
> mounting a SunOS filesystem NFS, the interactions follow those of the
> fileserver.  When you do transactions on a NFS, the vn subsystem just
> throws RPC calls at the server, and it's up to the server to handle the
> calls.  If you do NetBSD-NetBSD, you will find that the NFS semantics
> and the UFS semantics are identical; but SunOS/SVR4/SVR3/SVR2(Yuck!)
> will all do something different
Yes, whith an NetBSD nfs server, NFS and UFS semantics are identical.
The problem for me (and, i think for all people which uses SunOS nfs servers
and don't want to do a chgrp each time they create a file) is that a SunOS
nfs server always create files whith the group id specified by the client
(i.e. the gid of the user on NetBSD), even if the directory has the SGID bit
set. In this case, the semetic is defined by the client.
I know, this is a problem from SunOS, and not from NetBSD, but i don't
have SunOS sources ...

Manuel Bouyer, Ecole Nationale Superieure de Techniques Avancees, Paris