Wayne Davison wrote: > On Thu, Oct 19, 2006 at 03:28:56PM +1300, Jason Haar wrote: > >> bash$ rsync /tmp/other.txt file.doc >> bash$ echo $? >> 0 >> > > Re-run the same command under strace: > > strace rsync -av /tmp/other.txt file.doc > > Too late - I bet you to it :-) I just replied to the rsync and Samba list that it appears to be a bug with Samba
I have duplicated it with smbclient as well as mount.cifs: looks like the rename operation isn't atomic, and there's some error conditions being missed. I got Ethereal up and can see Windows returning all sorts of errors about files being locked/etc - Samba just ignores them Followups on the samba-technical list :-) -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html