Recursive directory deletion from windows CLI fails with "directory not empty"

Jeremy Allison jra at
Wed Mar 26 16:13:48 MDT 2014

On Wed, Mar 26, 2014 at 05:36:23PM +0530, Hemanth Thummala wrote:
> Hi All,
> We are using product which is running samba 3.6.12 stack. When we attempt
> to delete a directory (having 500+  files) from windows command prompt, it
> is failing with "directory not empty" error. But deletion from explorer is
> fine.
> X:\>rmdir /S /Q test2
> The directory is not empty.
> Issue is consistently reproducible. I have raised bug (
> for this issue already
> and updated my findings.
> Just want to check if this is a known issue and has been addresses in
> latest releases.

FYI. I'm following up in the bug report on this...


More information about the samba-technical mailing list