Hello,

[ please Cc: me, I'm not subscribed here. ]


we were bitten by another rsync bug of the same nature as was
discussed in http://lists.samba.org/pipermail/rsync/2002-May/007399.html


alexm@rack8:~$ rsync -az -e ssh rack6.domain.ru:/etc/passwd /var/tmp/forbiden-dir/
mkstemp .passwd.oPlFQm failed: Permission denied
alexm@rack8:~$ echo $?
0


So our scripts wreak havoc.


However, patch suggested by Dave Dykstra,
http://lists.samba.org/pipermail/rsync/2002-February/006371.html
helps:

alexm@rack8:~$ rsync -az -e ssh rack6.domain.ru:/etc/passwd /var/tmp/forbidden-dir/
mkstemp .passwd.2lGEBO failed: Permission denied
rsync error: partial transfer (code 23) at main.c(925)
alexm@rack8:~$ echo $?
23



I do not know about consequences of that patch, but it certainly fixes
last of the four bug we have stumped on (three of them seem to be
eliminated in 2.5.5).  I believe it would be great to apply the patch
or to fix the problem in some other way (in that case I'd be glad to
test it).


Thanks, especially to Dave once again,

--alexm

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to