[Samba] Re: File deletion problem with samba 2.2.8a and 3.0.0

Joseph Yuen kcyuen at hotmail.com
Fri Oct 10 02:25:45 GMT 2003


I see the same error message when I try to delete an opened folder in the
windows explorer in 2.2.8a on FreeBSD 4.8.
Somebody told me it's fixed in 3.0, but I haven't tried it out yet.


"Laurent Pinchart" <laurent.pinchart at capflow.com> wrote in message
news:200310091807.23824.laurent.pinchart at capflow.com...
> Hi everybody,
>
> I'm having problems with a samba PDC (both 2.2.8a and 3.0.0). I have 2
shares
> (one of them is public - ie. world writable -, the other one is the homes
> shares). when I try to delete a file from any of those, the file is
deleted
> properly by windows explorer, but it then pops up a message box with the
> message "cannot find the specified file".
>
> The same kind of error happens when I try to copy a file to the share. the
> file is created with a size of 0 and an error message appears before the
file
> is filled with data.
>
> I checked the filesystem permissions and samba permissions on the file.
>
> drwxrwsrwx    2 nobody   nobody         80 Oct  9 18:02 .
> drwxrwxrwt   35 root     root         1784 Oct  9 17:41 ..
> -rw-rw-rw-    1 pinchartl nobody          0 Oct  9 18:02 delete.me
>
> [public]
>    comment = Temporary file space
>    path = /tmp/public
>    read only = no
>    public = yes
>    only guest = yes
>    create mode = 0666
>    directory mode = 0777
>
> I checked the samba logs, and everything is normal. I raised the debug
level,
> and found out that windows explorer sends an SMBunlink message, which
unlinks
> the file, and then sends a SMBtrans2 message for the same file, which
returns
> NT_STATUS_OBJECT_NAME_NOT_FOUND (I suppose it's normal, as the file has
been
> deleted). Is that normal ? I'm not very familiar with the SMB protocol, so
> maybe I missed something.
>
> I'm running out of ideas. Any help will be welcome.
>
> Laurent Pinchart
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>






More information about the samba mailing list