<div dir="ltr"><span style="font-size:12.8000001907349px">Hey,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I am experiencing a problem when excluding files that are not readable by the user on the source side.</div><div style="font-size:12.8000001907349px">rsync version is 3.1.1. on debian jessy.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Here is a "minimal" example:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>  # preparation:</div><div>    $ mkdir -p source/subdir</div><div>    $ touch source/subdir/ignored_file</div><div>    $ sudo chown root:root source/subdir/ignored_file</div><div>    $ sudo chmod 600 source/subdir/ignored_file</div><div>    $ mkdir destination</div><div><br></div><div>  # without --fake-super it works:</div><div>    $ rsync -av --exclude="/subdir/*" source/ destination/</div><div>    sending incremental file list</div><div><br></div><div>    sent 90 bytes  received 13 bytes  206.00 bytes/sec</div><div>    total size is 0  speedup is 0.00</div><div><br></div><div>  # with --fake-super it does not:</div><div>    $ rsync -av --fake-super --exclude="/subdir/*" source/ destination/</div><div>    sending incremental file list</div><div>    rsync: failed to read xattr user.rsync.%stat for "/tmp/blubb/source/subdir/ignored_file": Permission denied (13)</div><div><br></div><div>    sent 90 bytes  received 13 bytes  206.00 bytes/sec</div><div>    total size is 0  speedup is 0.00</div><div>    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Is this behavior expected? Does rsync actually have to read the xattrs of ignored files?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks and kindest regards,</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Martin</div></div>