[PATCH] Fix bug 13358 - open for delete on close without delete access can leave files around.
jra at samba.org
Wed Mar 28 21:07:56 UTC 2018
Steve found an issue where creating files
with DELETE_ON_CLOSE requested but without
requesting DELETE access can leave "orphan"
files on the server (request fails, but
file is still created). It turns out we
had a test that this request fails, but
we weren't then checking that the file
hadn't been created.
I spent some time probing Windows to discover
how it behaves in these circumstances, and
coded the probes up as a set of regression
Here is the bugfix for Samba plus the regression
Please review and push if happy !
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15742 bytes
Desc: not available
More information about the samba-technical