メインコンテンツまでスキップ

NFS v4.xのインバンドセキュリティを使用し、ONTAPマウントに匿名でアクセスする

環境

  • ONTAP 9
  • NFS 4.1
  • NFS 4.2

問題

  • NFSv4.1クライアントのコマンド ls -l (または ll)を実行しているときに、ユーザとグループが次 99 のように誤って表示されます。
centos01$ ls -al mydir/ total 8 drwxr-xr-x. 2 99 99 4096 Jul 22 07:33 . drwxrwxrwx. 4 99 99 4096 Jul 22 07:33 .. -rw-r--r--. 1 99 99 0 Jul 22 07:33 foo
  • ルートボリュームのエクスポートが Superuser Security Types に設定されました none

::> export-policy rule show -vserver SVM  -inst

                   Vserver: SVM
                 Policy Name: default
                 Rule Index: 1
               Access Protocol: nfs
List of Client Match Hostnames, IP Addresses, Netgroups, or Domains: 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: none
        Honor SetUID Bits in SETATTR: true
          Allow Creation of Devices: true

  • chmod  ファイルは匿名によって所有されているため、を使用してNFS権限を変更することはできません

 

 

 

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.