batch-mode fixes [was: [PATCH] fix read-batch SEGFAULT]

Wayne Davison wayned at samba.org
Sun May 9 15:50:07 GMT 2004


On Fri, May 07, 2004 at 06:54:32PM -0400, Chris Shoemaker wrote:
> /* if (!write_batch) */
>    send_exclude_list(f_out);
> 
> at main.c:641.
> 
> This seems to work better, because things get further.

I looked at the receiving side, and I think that code should probably
be "if (!read_batch)" instead of "if (!write_batch)".

> Things still don't complete, though.  Now, I'm getting permission
> denied errors when opening the file pfx.rsync_flist.  I'm not sure why. 

The pfx* files are created with mode 600, so try "chmod 644 pfx*".

..wayne..


More information about the rsync mailing list