File permissions for owner, group reflect as nfsnobody for ONTAP 9
Applies to
- ONTAP 9
- NFS
Issue
- When the root user instigates the touch command to create a file, the file owner, group is set to nfsnobody (Superuser Security Type is preset to 'any'):
::> vserver export-policy rule show -vserver svm-ha -instance
- Example Output:
Vserver: svm-ha
- Example Output:
Policy Name: default
Rule Index: 1
Access Protocol: any Client Match Hostname, IP Address, Netgroup, or Domain: 0.0.0.0/0
RO Access Rule: any
RW Access Rule: any
User ID To Which Anonymous Users Are Mapped: 65534
Superuser Security Types: any
Honor SetUID Bits in SETATTR: true
- ls -la command output reflects the file owner,group as nfsnobody:
root@db02:/netapp/coredb/ha>touch testfile
root@db02:/netapp/coredb/ha>ls -la [Tue Aug 25 17:43:47.336 2015] total 12K
drwxrwxrwx 2 root root 4096 Aug 25 17:43 .
drwxr-xr-x 3 root root 4096 Aug 16 10:08 ..
drwxrwxrwx 5 root root 4096 Aug 25 05:00 .snapshot
-rw-r--r-- 1 nfsnobody nfsnobody 0 Aug 25 17:38 testfile