<div dir="ltr"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">Hi,</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">I've been attempting to use rsync 3.1.2 to copy files from a macOS 10.12.2</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">system to an AFP mounted share. The command I'm using is:</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">rsync -avAX -M--fake-super ./testDir ./mnt/testDir/</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">This works fine and all the extended attributes are copied and readable.</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">I then try to use rsync to copy these files back with:</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">rsync -avAX --fake-super -M--super ./mnt/testDir/ ./testDir2/</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">This outputs errors such as:</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">rsync: get_xattr_data:</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">lgetxattr(""./mnt/testDir/./</span><wbr style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">testFile2"","com.apple.</span><wbr style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">quarantine",0) failed:</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">Attribute not found (93)</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">When I use a few -vvv this pattern is present:</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">[sender] pushing local filters for ./mnt/testDir/</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">[sender] make_file(testFile1,*,2)</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">[sender] expand rsync_xa to 40 bytes, did move</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">[sender] make_file(testFile2,*,2)</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">rsync: get_xattr_data: lgetxattr("" ....</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">The com.apple.quarantine attribute is on testFile1 and so of course it is</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">"not found" on the second file. The first file was copied without any</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">extended attributes.</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">It appears that somehow rsync loses track of what file has the attributes.</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">Has anyone seen this before? This happens every time when going from the</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">AFP mount to the mac. I don't see this when I mount the same folder using</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">SMB. I've seen this one time and only one time when going from the mac to</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">the share.</span><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><br style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">Steven</span><br></div>