twice delete a directory before it really is deleted

Jeremy Allison jra at samba.org
Mon Oct 29 17:59:03 GMT 2001


On Fri, Oct 26, 2001 at 03:00:05PM +1000, Edmund Lam wrote:

>    I believe I've seen this bug too. However, I have a different
> interpretation of why it happens. I've submitted a bug report at the
> following 
> 
> http://bugs.samba.org/cgi-bin/samba-bugs/incoming?id=21897;user=guest
> 
>    I believe this bug occurs when you try to delete a directory which has
> opened subdirectories. Furthermore, it only occurs on Windows 2000 on
> Samba-2.2.x. I've tested Samba-2.0.10 and it doesn't seem to have this
> bug.
> 
>    Can you confirm that this bug only occurs with W2K clients please? Can
> you also confirm that it isn't with Windows Explorer per sec, but with
> opened subdirectories?

I just tested this against a Samba mounted drive on W2K SP2 and on a
local drive on W2K SP2. Exporer behaved identially (ie. it refused to
remove the directory as the file is in use).

Unless you can show me a case where W2K allows this I think we've
incresed conformance with W2K on this point (ie, 2.0.x allowing it
was a bug).

Thanks,

	Jeremy Allison,
	Samba Team.




More information about the samba mailing list