How to mount a volume with file owners being nobody?

Peter Levart peter.levart at gmail.com
Wed May 7 11:20:34 UTC 2014


On 04/18/2014 05:28 AM, Wang Weijun wrote:
> I have seen such things before but cannot create one now. I would like to simulate a problematic environment on my own machines. Any suggestion is welcomed, I have Mac OS X and Windows at hand but Linux and Solaris are also OK.
>
> Thanks
> Max
>

Hi Max,

One particular unusual environment I have observed is such that on a NFS 
client, files are reported as having owner/group being nobody/nobody, 
but actual access to files is correctly handled by the NFS server using 
UIDs/GIDs. Correctly meaning that the effective UID/GID of the process 
executing on NFS client is handled by the NFS server when granting 
particular operations on files/directories as they appear on NFS server. 
These are the mount options reported on NFS client, which is Linux 
(CentOS 6.5):

server:/directory on /directory_nfs type nfs 
(rw,vers=4,addr=192.168.xxx.xxx,clientaddr=192.168.xxx.xxx)

The NFS server is a Solaris box (Solaris 10, sparc) which speaks NFSv4 
and runs the nfsmapid daemon, but the client is not running the idmapd.


Hope this helps.

Regards, Peter



More information about the core-libs-dev mailing list