[Samba] delete file problem with samba
bombcar at bombcar.com
Mon Sep 15 03:15:56 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
This may be an artifact of the way Windows/UNIX differ in file deletion.
In UNIX, you can delete a file that is open, and the file will remain
readable by the process, but the moment that process closes the file, it
is deleted. Deleting the directory (which for UNIX is a special file)
from the left hand pane may leave an open file handle for it (the right
hand pane is looking at it, too). If it works, I'd just ignore it for now.
Hope this makes some sense, as I am getting tired....
Joseph Yuen wrote:
| I am running samba 2.2.8a on FreeBSD 4.8. I installed that from the
| port tree.
| In IE, when I try to delete a directory which contains subdirectories
| 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
| 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba