[comp.protocols.nfs] Unix groups and file permissions

KDICKEY@cmsa.gmr.com (06/11/91)

Hello,

I'm running FTP's InterDrive NFS client, and am having some problems
with Unix groups and file permissions when mounting a SunOS system.
There are a couple of users for which I have created a separate group
for. The problem seems to stem from the fact that this new group is not
the default group specified for the users in the passwd file. For
example, let's say the default group for both of these users is groupA,
and the new group is groupB. If on the sun I create a file from user1 it
get's assigned to groupB. I then issue the chgrp command against the
file to change it to groupB. Now, if I mount (specifying user2 to
pcnfsd) the directory in which this file exists I don't get any of the
file permissions that go along with groupB. It seems that NFS is only
checking the default group in the passwd file? Note that if I login
interactively to the sun from user2 I do get the permissions that go
along with user2. Does this make any sense to anyone? Is there something
obvious that I'm missing? Is this the way it's suppose to work? Also, it
sure would be nice if the InterDrive NFS had a idchgrp command like
their idls and idchmod. A -g option (list group on Unix ls command) on
the idls command would also be nice.

Thanks,
Keith Dickey   kdickey@cmsa.gmr.com
General Motors Research Laboratories