[Ilugc] Is there a way to make nfs partition transparent

  • From: prabhu@xxxxxxxxxxxxxxxxxx (Prabhu Ramachandran)
  • Date: Mon, 14 Oct 2002 12:06:51 +0530

"Bala" == egrpbala  <Bala> writes:

    Bala> Hi All, Is there any way to make nfs mount transparent to
    Bala> the local system, ie) I have a user(same UID) in nfsserver
    Bala> and client machines, as a user I can create a file and
    Bala> change the file access permissions in the nfs partition, but
    Bala> as a root I can't change anything in the nfs mounted
    Bala> partition.
 
    Bala>      In nfserver my export file is,
 
    Bala>  # cat /etc/exports /usr/local/nfstest 192.168.0.247(rw)

By default (for security), root on the client machine cannot write to
a remotely mounted NFS share.  To allow root to write add a
no_root_squash option to the servers /etc/exports file like so:

/usr/local/nfstest 192.168.0.247(rw,no_root_squash) 

For more details read the man page for exports (man exports).

cheers,
prabhu

Other related posts: