Unable to access CIFS due to deny rule present in ACE list
Applies to
- ONTAP 9 and later
- CIFS
Issue
- Users are able to access the storage via windows and same volume is not accessible from unix using CIFS.
- Sectrace show below error:
vserver1 5 Security Style: NTFS and Access is denied. The
NT ACL requested permissions are not
granted by the ACE while
opening existing file or
directory. Access is not
granted for: "Read
Attributes", "Read"
Protocol: cifs
Volume: -
Share: share1
Path: /vol/file
Win-User: nas\user1
UNIX-User: pcuser
Session-ID: 17159277530640102807- Permission denied error from client:
root@host1 ls -la ls: reading directory '.': Permission denied- Deny ACE rule added in the list:
::> vserver security file-directory show -vserver vserver1 -path /vol/file
Vserver: vserver1
File Path: /vol/file
File Inode Number: 57936462
Security Style: ntfs
Effective Style: ntfs
DOS Attributes: 10
DOS Attributes in Text: ----D---
Expanded Dos Attributes: -
UNIX User Id: 0
UNIX Group Id: 1
UNIX Mode Bits: 777
UNIX Mode Bits in Text: rwxrwxrwx
ACLs: NTFS Security Descriptor
Control:0xbf14
Owner:BUILTIN\administrators
Group:AMAT\Domain Users
DACL - ACEs
ALLOW-BUILTIN\administrators-0x1f01ff-OI|CI
ALLOW-nas\user1-0x10000
ALLOW-NT AUTHORITY\SYSTEM-0x1f01ff-OI|CI
DENY-nas\user1-CHANGE-0x10000