Example
NTSTATUS: 0xC0000056
Constant name:
STATUS_DELETE_PENDING
Normally the “NT Status: STATUS_DELETE_PENDING” error is generated if a deleted file would remain open when an attempt would be made to open the file. In other words, a deleted file remains in a directory with CIFS until all opens of the deleted file would be closed.
In multiple clients environment, file could be deleted by other client when file is opened by one client.
In SMB2 create operation, the share access was set to “Share Access: 0x00000007 SHARE_DELETE SHARE_WRITE SHARE_READ”
SHARE ACCESS
Field: ShareAccess
Specifies what other clients can do with the same file while this handle is open.
