Re: "text file busy" on cifs-mounted dir *doesn't* cause rsync error!

2006-10-18 Thread Jason Haar
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

Re: "text file busy" on cifs-mounted dir *doesn't* cause rsync error!

2006-10-18 Thread Wayne Davison
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 That will show you the rename() call that rsync is making and what the return value is. If it is

"text file busy" on cifs-mounted dir *doesn't* cause rsync error!

2006-10-18 Thread Jason Haar
Hi there I am running rsync-2.6.9rc2 and am having difficulty getting rsync to report an error when I think it should I mounted (via "mount -t cifs") a remote Win2K3 server and on a XP client opened a Word document. Then from Linux (FC5) I attempted a bash$ cp /tmp/other.txt file.doc cp: cannot