failure for "rsync -X"

Harald Dunkel harald.dunkel at
Wed Jun 15 09:07:01 UTC 2016

Hi folks,

Problem: "rsync -aX remote:/somepath ." fails, if the remote
site doesn't support extended attributes. Sample session

# rsync -aX aix1:/usr/man .
rsync: extended attributes are not supported on this server
rsync error: syntax or usage error (code 1) at main.c(1554) [server=3.1.1]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.1]

Since this is a read-only access on the remote side I wonder
why this results in a fatal error instead of a warning?

rsync is 3.1.1 on both ends.

Every helpful comment is highly appreciated

More information about the rsync mailing list