跳转到主内容

所有者的文件权限、组反映为 ONTAP 9 的 nfsnobody

Views:
10
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs
Last Updated:

适用于

  • ONTAP 9
  • Data ONTAP 8 
  • NFS

问题

  • 当 root 用户启动 touch 命令创建文件时、文件所有者、组设置为 nfsnobody (超级用户安全类型预设为 'any ' ):
    • ::> 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 nfsnobodynfsnobody 0 Aug 25 17:38 testfile

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support