Skip to main content
NetApp Knowledge Base

NFS client intermitently get permission denied error while accessing NTFS volume due to CIFS lock

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

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 -instance
Notice: Using this command can impact system performance. It is recommended
that you specify both the vserver and the volume when issuing this command to
minimize 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

 

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.