NFS read write access to normal user (permit root read write)

Assume that on SUN ZFS server, you want to create a NFS share which can only be RW to a normal user on a client machine (even root user can not read/write), then you can follow below steps:

  • when creating project, enter the normal user UID/GID and select 755










  • in NFS share Protocols tab, set "anonymous user mapping" to nobody, Enter the FQDN of the host you want to mount, and uncheck "Root access".









  • Now have a test on the host, you would find root cannot write, but the user corresponding to the UID/GID specified could.

Good Luck & Best Wishes