hi,
first after changing any exports in /etc/exports you should do as root:
root@server~# /usr/sbin/exportfs -a
This updates nfs' exported directories...
also, it is very important to add into the export line the behavior of
root and other users... how?
/export/dir 192.168.x.x(rw,root_no_squash,async,etc)
you must decide wether you want to have the remote machines (nfs
clients) root user mapped as the local root or mapped as nobody (on nfs
server)
The default is to have uid 0 mapped as nobody, so if you want this use
root squashing and change permissions in the exported directories, or
if you want to have the uid 0 on client machines mapped as root on
server use root_no_squash as another option in the exports file.
But mapping remote root as local root could be a security risk...
also do some "man" at exports... there is some explanation...
root@server~# man 5 exports
|