跳转到主内容

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

Views:
140
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs<a>nobody</a><a>1005972</a><a>nfsnobody</a>
Last Updated:

适用场景

  • 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

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.