Hey, I am experiencing a problem when excluding files that are not readable by the user on the source side. rsync version is 3.1.1. on debian jessy.
Here is a "minimal" example: # preparation: $ mkdir -p source/subdir $ touch source/subdir/ignored_file $ sudo chown root:root source/subdir/ignored_file $ sudo chmod 600 source/subdir/ignored_file $ mkdir destination # without --fake-super it works: $ rsync -av --exclude="/subdir/*" source/ destination/ sending incremental file list sent 90 bytes received 13 bytes 206.00 bytes/sec total size is 0 speedup is 0.00 # with --fake-super it does not: $ rsync -av --fake-super --exclude="/subdir/*" source/ destination/ sending incremental file list rsync: failed to read xattr user.rsync.%stat for "/tmp/blubb/source/subdir/ignored_file": Permission denied (13) sent 90 bytes received 13 bytes 206.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1] Is this behavior expected? Does rsync actually have to read the xattrs of ignored files? Thanks and kindest regards, Martin
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html