The Samba-Bugzilla – Bug 9819
Samba refuses with ACCESS_DENIED requests for DELETE_ON_CLOSE that W2K08 allows
Last modified: 2013-04-21 00:53:10 UTC
If a client requests DELETE access and DELETE_ON_CLOSE in the create options and OPEN_IF or OVERWRITE_IF and the file does not exist (ie, it is to be created) and the parent directory where the creation is to occur does not give the requestor DELETE_CHILD, W2K08R2 still allows the open.
Samba responds with ACCESS_DENIED.
The new smb2.delete_on_close tests the relevant cases.
*** This bug has been marked as a duplicate of bug 9757 ***