Skip to main content
NetApp Knowledge Base

Permission denied when accessing NFS path inside a Qtree

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

Applies to

  • ONTAP 9
  • NAS / NFS (Unix and CIFS permissions)
  • Qtree permissions

Issue

  • Users getting permission denied on NFS clients when trying to do cd or ls into a Unix path inside a Qtree and the main volume is NTFS security style.
[user1@demo~]$ cd /home/apps/finalpathbash: 
cd: /home/apps/finalpath: Permission denied
  • Qtree parent volume security style is set to NTFS, so CIFS users are able to access the volume: 
::> 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 is intended to be accessed only by Unix users, but permissions are set to 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.