跳转到主内容

访问qtree内的NFS路径时权限被拒绝

Views:
10
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009338519</a>
Last Updated:

适用场景

  • ONTAP 9
  • NS/NFS (Unix和CIFS权限)
  • qtree权限

问题描述

  • 用户尝试 cd ls 在qtree内执行或访问Unix路径时、NFS客户端上的权限被拒绝、并且主卷采用NTFS安全模式。
[user1@demo~]$ cd /home/apps/finalpathbash: cd: /home/apps/finalpath: Permission denied
  • qtree父卷安全模式设置为NTFS、因此 CIFS用户 可以访问卷: 
::> vserver security file-directory show -vserver vs1 -path /vol/volumepath/

         Vserver: vs1
        File Path: /vol/volumepath/
    File Inode Number: 64
     Security Style: ntfs
     Effective Style: ntfs
     DOS Attributes: 30
 DOS Attributes in Text: ---AD---
Expanded Dos Attributes: -
      UNIX User Id: 0
      UNIX Group Id: 0
     UNIX Mode Bits: 777
 UNIX Mode Bits in Text: rwxrwxrwx
          ACLs: NTFS Security Descriptor
             Control:0x8004
             Owner:BUILTIN\administrators
             Group:BUILTIN\administrators
             DACL - ACEs
              ALLOW-Everyone-0x1f01ff
              ALLOW-Everyone-0x10000000-OI|CI|IO

  • qtree仅供Unix用户访问、但权限设置为NTFS:

::> vserver security file-directory show -vserver vs1 -path /vol/volumepath/QtreePath

         Vserver: vs1
        File Path: /vol/volumepath/QtreePath
    File Inode Number: 64
     Security Style: ntfs
     Effective Style: ntfs
     DOS Attributes: 30
 DOS Attributes in Text: ---AD---
Expanded Dos Attributes: -
      UNIX User Id: 0
      UNIX Group Id: 0
     UNIX Mode Bits: 777
 UNIX Mode Bits in Text: rwxrwxrwx
          ACLs: NTFS Security Descriptor
             Control:0x8004
             Owner:BUILTIN\administrators
             Group:BUILTIN\administrators
             DACL - ACEs
              ALLOW-Everyone-0x1f01ff
              ALLOW-Everyone-0x10000000-OI|CI|IO

 

 

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.