Problem
I am using an NFS exported directory as an SCO Advanced File and
Print Share. When I use certain client applications and try to
re-save files I had previously created on this share, I get the
error:Network Error on Drive EIf I cancel from the error, I get the error message:
FILE1.BMPNot able to open this file Make sure that the path and file name are correct
From Microsoft Windows95 I get the error:
File could not be saved. File marked read only!
Solution
See the section entitled, "Shared NFS mounts may need root access enabled" in the chapter entitled "Known Limitations" in the SCO Advanced File and Print Server Release Notes.
Some Microsoft Windows applications, such as Microsoft Paintbrush,
create a temporary copy of the original file while the updated or
edited version is rewritten to the network drive. The AFPS server
carries out these operations in the UNIX NFS filesystem on behalf
of the client workstation. In the described situation, the
temporary file operations are carried out by AFPS as the root
user. Due the the implementation of security within NFS in regard
to root, access may be denied. By default, NFS shares are
exported with read and write permission to all, without root
access.The -root=<systemname> option must be used in the /etc/exports file to enable root access by AFPS to the NFS mounted file system. The systemname used in this option must match the output from the hostname (ADMN) command on the system to which it refers.
For example:Machine "A" exports /tmp to the AFPS server called "B". The
/etc/exports file on machine A must have an entry similar to the
following, which will allow root access from the AFPS server to
the NFS mounted file system:/tmp -root=B.sco.comNOTE: The hostname command on machine B displays:
B.sco.comThis is the system name which must be used in the exports file.
Edit the file /etc/exports using your favorite editor to make
the necessary changes. Then run the command exportfs -a to
force a re-read of the /etc/exports file to update the system
configuration.Now, on machine B, which is the AFPS server, mount /tmp from machine A to /mnt (or some other mount point):
mount -fNFS,intr,soft,bg A:/tmp /mntSet up the AFPS network disc share to provide access to /mnt by the AFPS client workstations:
net share MNT=c:/mnt See also
exportfs(NF)