メインコンテンツへスキップ

NFSv4 ACLアクセスで権限が拒否される

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

環境

  • ONTAP
  • NFSv4 ACL
  • NFSv4

問題

  • NFSv4経由でディレクトリにアクセスする際、NFSユーザーがPermission denied を受け取る
       user1@host1:/vol1$ cd dir1/
     bash: cd: dir1/: Permission denied
  • ディレクトリには 明示的なNFSv4 グループ ACEが設定されています
root@host1:/home/localroot# nfs4_getfacl /vol1/dir1/
# file: /vol1/dir1/
A:g:g1@ntap.local:rwaDxtTnNcCy
A::OWNER@:rwaDxtTnNcCy
A:g:GROUP@:rxtncy
D::EVERYONE@:rxtncy
  • ONTAP getxxbyyyUNIXユーザーが設定済みのACEグループのメンバーであることを示します
::*> vserver services name-service getxxbyyy getgrlist -node node1 -vserver svm1 -username user1 -use-cache false -show-source true
Source used for lookup: Unknown
pw_name: user1
Groups: 8668 8668 8671 8682
  • NFSクライアントのid コマンドは、ACEグループを持たないUNIXユーザーを表示します
user1@host1:/dir1$ id
uid=5600(user1) gid=8668(gs1) groups=8668(gs1),8671(g2)
  • ONTAP show-effective-permissions UNIXユーザーがディレクトリに対して十分な権限を持っていることを示します
::*> vserver security file-directory show-effective-permissions -vserver svm1  -unix-user-name user1 -path /vol1/dir1 -instance
                        Vserver: svm1
              Windows User Name: ntap\user1
                 Unix User Name: user1
                      File Path: /vol1/dir1/
                CIFS Share Path: -
          Effective Permissions:
                                 Effective File or Directory Permission: 0x1601ff
                                        Read
                                        Write
                                        Append
                                        Read EA
                                        Write EA
                                        Execute
                                        Delete Child
                                        Read Attributes
                                        Write Attributes
                                        Read Control
                                        Write DAC
                                        Synchronize

テキストを確認できません—まずプライバシー ポリシーを確認してくださいテキストを確認できません—まずプライバシー ポリシーを確認してくださいテキストを確認できません—まずプライバシー ポリシーを確認してください

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.
  • この記事は役に立ちましたか?