NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering an NFS Client
Chapter 2 47
suid
or
nosuid
(default: suid)
Specify suid if you want to allow mounted
programs that have setuid permission to run with
the permissions of their owners, regardless of who
starts them. If a program with setuid permission
is owned by root, it will run with root permissions,
regardless of who starts it.
Specify nosuid to protect your system against
setuid programs that may run as root and
damage your system.
hard
or
soft
(default: hard)
Specify hard if users will be writing to the
mounted directory or running programs located in
it. When NFS tries to access a hard-mounted
directory, it keeps trying until it succeeds or
someone interrupts its attempts. If the server
goes down, any processes using the mounted
directory hang until the server comes back up and
then continue processing without errors.
Interruptible hard mounts may be interrupted
with CTRL-C or kill (see the intr option, later).
Specify soft if the server is unreliable and you
want to prevent systems from hanging when the
server is down. When NFS tries to access a
soft-mounted directory, it gives up and returns an
error message after trying retrans times (see the
retrans option, later). Any processes using the
mounted directory will return errors if the server
goes down.
Table 2-2 NFS Mount Options (Continued)