Possible 3.0.4 bug with -s (--protect-args) - protocol error

Matt McCutchen matt at mattmccutchen.net
Fri Oct 10 00:39:00 GMT 2008

On Thu, 2008-10-09 at 18:44 +0100, Giuliano Procida wrote:
> Two different hosts with 3.0.4 compiled from source, no patches.
> It seems fine except that -s causes protocol failures. See below.

I can reproduce this:

matt at mattlaptop2:~ $ rsync -n . localhost:
skipping directory .
matt at mattlaptop2:~ $ rsync -s -n . localhost:
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(171) [receiver=3.0.4]
rsync: connection unexpectedly closed (4 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(632) [sender=3.0.4]

I'll look into it when I get a chance.


More information about the rsync mailing list