NFS client intermitently get permission denied error while accessing NTFS volume due to CIFS lock
Applies to
- ONTAP 9 and later
- CIFS locks
- NFS
Issue
- Getting intermittent permission denied error on Unix server while renaming the directory/file on NTFS volume.
- In sectrace, noticed below error:
vs1 1 Security Style: NTFS and Access is allowed because
NT ACL explicit ACE grants requested
access. Access is denied. The
requested permissions are not
granted by the ACE while
checking parent's modebits
during delete. Access is not
granted for: "Execute",
"Write"
Protocol: nfs
Volume: vol1
Share: -
Path: /dir1/dir2/dir3/dir4
Win-User: -
UNIX-User: 12345
Session-ID: -- Packet trace show rename operation is failing with access denied error.
- File/directory already opened by CIFS client and client put share lock on it:
::>vserver locks show -vserver vs1 -path /vol1/dir1/dir2/dir3/dir4/file -instanceNotice: Using this command can impact system performance. It is recommendedthat you specify both the vserver and the volume when issuing this command tominimize the scope of the command's operation. To abort the command, press Ctrl-C. Vserver: vs1 Volume: vol1 Logical Interface: data_lif1 Object Path: /vol1/dir1/dir2/dir3/dir4/file Lock State: granted Shared Lock Access Mode: read-deny_none Shared Lock is Soft: false Client Address: 10.1.2.3 Client Address Type: ipv4