X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/16edf86595a5a990a942fa045dfb523dae1fe6cb..01894cf01fef34d6746711ba1bb17323ab8344b6:/compat.c diff --git a/compat.c b/compat.c index 3f4bd45c..38618d51 100644 --- a/compat.c +++ b/compat.c @@ -115,14 +115,14 @@ void setup_protocol(int f_out,int f_in) protocol_version); exit_cleanup(RERR_PROTOCOL); } - if (preserve_acls) { + if (preserve_acls && !local_server) { rprintf(FERROR, "--acls requires protocol 30 or higher" " (negotiated %d).\n", protocol_version); exit_cleanup(RERR_PROTOCOL); } - if (preserve_xattrs) { + if (preserve_xattrs && !local_server) { rprintf(FERROR, "--xattrs requires protocol 30 or higher" " (negotiated %d).\n",