[PATCH] Fix bug 13204

Anoop C S anoopcs at autistici.org
Thu Aug 9 16:09:41 UTC 2018


On Thu, 2018-08-09 at 15:32 +0530, Anoop C S via samba-technical wrote:
> On Thu, 2018-08-09 at 14:09 +0530, Anoop C S via samba-technical wrote:
> > Hi,
> > 
> > Please find the attached patch which fixes the following bug:
> > 
> > https://bugzilla.samba.org/show_bug.cgi?id=13204 - rmdir on non-empty directory fails silently
> > 
> > For discussion regarding this please refer the thread
> > https://lists.samba.org/archive/samba-technical/2018-August/129491.html
> > 
> > Reviews are appreciated.
> 
> Attaching a slightly modified version of patch with changes only to commit message.

Ah.. forgot to close the directory :-)

Modified the patch to close fnum before returning NT_STATUS_DIRECTORY_NOT_EMPTY while trying to set
DELETE_ON_CLOSE.

> > Anoop C S.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-libsmb-Explicitly-set-delete_on_close-token-for-r.patch
Type: text/x-patch
Size: 2035 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180809/0a339766/0001-s3-libsmb-Explicitly-set-delete_on_close-token-for-r.bin>


More information about the samba-technical mailing list