Bug in Samba 2.2.0 and 2.2.1 (smbd)
Michael Gerdts
Michael.Gerdts at usa.alcatel.com
Thu Jul 12 11:31:25 GMT 2001
This issue has come up twice on samba-technical. A patch is available at
http://lists.samba.org/pipermail/samba-technical/2001-June/014057.html .
Could we please get this patch applied to CVS?
Mike
On Thu, Jul 12, 2001 at 03:09:14AM +0200, Matthias Stolte wrote:
> Hello,
>
> in contrast to 2.0.7 the moving of files across different filesystems
> does not work anymore. In 2.0.7, the function "dos_rename" in file
> lib/doscalls.c is called directly by function "rename_internals" in file
> smbd/reply.c and has a workaround ("copy_reg" in file lib/doscalls.c),
> if the destination is on another filesystem.
>
> In version 2.2.0 and 2.2.1, the function "rename_internals" in file
> smbd/reply.c calls "vfswrap_rename" in file smbd/vfs-wrap.c indirectly -
> and "vfswrap_rename" just makes a syscall "rename(old, new)" which leads
> to an EXDEV, if filesystems are different...
>
> Have you forgotten the code in lib/doscalls.c? ;-)
>
> Best wishes and thanks for samba,
> Matthias Stolte
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
--
Mike Gerdts (919) 850-5284
Unix Systems Administrator Michael.Gerdts at usa.alcatel.com
More information about the samba-technical
mailing list