Root squashing causes NFS clients to show root user and group as nobody
Applies to
- NFSv3.
- NFSv4.
- Root squashing.
Issue
-
Users and groups are displayed as "nobody" in files created on a UNIX volume by a Linux client:
[root@client ~]$ ls -al
-rw-r----- 1 nobody nobody 5 Apr 4 18:00 test.txt
-
Both NFSv3 and NFSv4 have the same behavior.
-
The v4-id-domain is properly configured on NFS client and Ontap.
-
Root user has read only rights on the mountpath.
-
The export-policy has Superuser Security Type set to none:
::> export-policy rule show -vserver svm1 -policyname default -ruleindex 1 -fields superuser
vserver policyname ruleindex superuser
------- ---------- --------- ---------
svm1 default 1 none