10.4.2. Checking file permissions
Windows/NT and Unix have different file permissions conventions.
By default, users on PCs are given the permissions of the anonymous
user nobody, which generally means that PC users
can access files with the appropriate world permissions. As
we'll discuss in Section 12.4.2, "Superuser mapping", being mapped to
nobody is very restrictive and may prevent users
from accessing their home directories on Unix file servers.
With NFS Version 2, there is no mechanism for Windows or NT to
perform Unix file permission checking. File permissions exist only on
the Unix server side, not on the PC/NFS side. This problem is solved
by calling on the PCNFSD server. The first time the PC/NFS user
accesses the server, the PC/NFS client mounts the filesystem and
contacts the PCNFSD server to get user identifiers, group
identifiers, and supplementary group identifiers for the
authenticated user. The PC/NFS client can then compare the
identifiers with the attributes (user and group ownership and
permissions) of files accessed to see if the user should have access
or not.
If the NFS mount uses NFS Version 3, which has an ACCESS procedure,
contacting the PCNFSD server for the user's identifiers for the
purpose of permission is not necessary. Of course, if AUTH_SYS is
being used, the user's identifiers are
still necessary.