# Lines starting with hash (#) are comments, not read by programs
# /etc/exports: the access control list for filesystems which may be
# exported to NFS clients. See exports(5).

# The next line allows the client www2.math.tifr.res.in to mount
# the directory /home/www with read-only permissions and the root
# in www2.math.tifr.res.in will not be able to read protected
# files from the directory

/home/www www2.math.tifr.res.in(ro,root_squash)

# The next line allows the client www3.math.tifr.res.in to mount
# the directory /home/www with read-only permissions and the root
# in www2.math.tifr.res.in can read protected files in the directory
# (as the root in the original machine can do)

/home/www www3.math.tifr.res.in(ro,no_root_squash)

# With the next line the client www4.math.tifr.res.in
# can mount /home/www with read and write permissions, but the
# protected files are not accessible by root

/home/www www4.math.tifr.res.in(rw,root_squash)

# Finally, the client www5.math.tifr.res.in can mount
# /home/www with read and write permissions and root in www5 can
# access protected files (full permissions for everything!)

/home/www www5.math.tifr.res.in(rw,no_root_squash)

# A wild-card line, that allows to mount /export
# for all machines in the math.tifr.res.in domain
# For security reasons this directory is exported with read-only
# and no-client-root-access permissions

/export *.math.tifr.res.in(ro,no_root_squash)

# The next line combines exports with the
# netgroup file; it allows to mount
# /var/spool/mail to clients in the netgroup file, read and write
# permissions and access by root in the client to all files

/var/spool/mail @clientsquash(rw,no_root_squash)