[Samba] delete file problem with samba

Joseph Yuen kcyuen at hotmail.com
Mon Sep 15 03:46:13 GMT 2003

I am running samba 2.2.8a on FreeBSD 4.8. I installed that from the FreeBSD
port tree.

In IE, when I try to delete a directory which contains subdirectories in it,
it will pop up a Windows dialog saying that,

Cannot remove folder foldername: Cannot find the specified file.
Make sure you specify the correct path and file name.

However, if you click on the Okay button on that Windows error dialog and
refresh the IE,
you'll find that in fact the folder and the subfolders under it are all
On the FreeBSD, this is the error msg from samba,

smbd/trans2.c: set_delete_on_close_over_all(2214)
set_delete_on_close_internal: failed to change delete on close flag for file

Note that this *ONLY* happens when I try to delete the directory from the
on the left frame of IE.
If I try to delete the directory from the right side frame of IE, i.e. the
file listing frame,
it'll be completely fine, no problem at all.

I am using WindowsXP with all the patches installed.

Can any expert here tell me that whether this is a samba configuration
problem or it's a bug of samba?

Thanks in advance.


More information about the samba mailing list