Bug 11979 - rsync -X fails without need
rsync -X fails without need
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
All Linux
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2016-06-16 06:29 UTC by Harri
Modified: 2016-06-16 06:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Harri 2016-06-16 06:29:56 UTC
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 a warning should be sufficient.