Using the latest development rsync, if I push files to a daemon with --only-write-batch, the daemon makes some of the changes to the destination and then hangs. The run should finish with no changes made to the destination. To reproduce, run the following in an empty directory: export PATH=/path/to/rsync/build/tree:$PATH wget http://mattmccutchen.net/rsync/instant-daemon.sh sh instant-daemon.sh module 3141 user (Choose a password and enter it twice) mkdir upload ln -s . upload/me echo foo >upload/file rsync -rl --only-write-batch=thebatch upload/ rsync://user@localhost:3141/module/ (Enter the password) (When the process hangs, press ^C) ls -la module (Note that the symlink was copied.) ./stop
I have checked in a fix for this. Thanks for finding the problem! Aside: your instant-daemon.sh script should set mode 600 on the secret file or the daemon might refuse to use it.