CIFS share not accessible by user even with share permission Everyone - full control
Applies to
- ONTAP 9
- CIFS/SMB Share with UNIX security style
Issue
- User not able to access the CIFS/SMB share even with the share permission as Everyone - Full control.
- Whenever user tries to access the share, it prompts for password.
- After providing the password, "Access Denied" error is displayed.
- Security style of the volume/Qtree on which the share was created is UNIX.
- Below error is seen when
vserver services unix-user show -vserver <vs> -user <user>
is run.
Vserver: vs
User Name: user
User ID: 3xxx
Primary Group ID: x0
User's Full Name:
Reason
------------------------------
Access is denied by UNIX
permissions while opening
existing file or directory.
Access is not granted for:
"Synchronize", "Write DAC",
"Read Control", "Execute",
"Read EA", "Read"
- Only root user and group have access
::> file-directory show -vserver SVM -path /vol/share_name
(vserver security file-directory show)
Vserver: SVM
File Path: /vol/share_name
File Inode Number: 64
Security Style: unix
Effective Style: unix
DOS Attributes: 10
DOS Attributes in Text: ----D---
Expanded Dos Attributes: -
UNIX User Id: 0
UNIX Group Id: 0
UNIX Mode Bits: 770
UNIX Mode Bits in Text: rwxrwx---
ACLs: -