NFS permissions not carried over to CentOS

VulcanRidr

Explorer
Joined
Jan 5, 2015
Messages
59
Hello. We have a number of boxes connecting to an NFS share from our FreeNAS running 11.3-u3.2. Some are running Ubuntu 16.04, others are running CentOS 7.8. We got a complaint from one of the data teams that the ownership was not correct on one of the CentOS boxes. The ownership should be, for example, root:felix on a directory within the share (and they are on the Ubuntu boxes), but instead, on CentOS, they are nobody:nobody. The kernels were upgraded last week on the CentOS boxes, from 3.10.0-1127.10.1.el7.x86_64 to 3.10.0-1127.13.1.el7.x86_64. So we rolled back to the previous kernel, but even on the older kernel, the mount still had incorrect permissions. Has anyone seen this behavior or better, have a fix for it?
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
Are you using nfsv4 or nfs?
If it is nfsv4, it looks like a problem in the nfsidmapper. Is the FreeNAS domain the same as configured in the CentOS idmapd.conf?
Try setting [x] NFSv3 ownership model for NFSv4 in the FreeNAS NFS demon config.
 
Top