Permission denied when accessing NFS path inside a Qtree
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
orls
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