所有者的文件权限、组反映为 ONTAP 9 的 nfsnobody
适用场景
- ONTAP 9
- Data ONTAP 8
- NFS
问题描述
- 当 root 用户启动 touch 命令创建文件时、文件所有者、组设置为 nfsnobody (超级用户安全类型预设为 'any ' ):
::> vserver export-policy rule show -vserver svm-ha -instance
- 输出示例:
Vserver: svm-ha
- 输出示例:
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 命令输出将文件所有者、组反映为 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