<div dir="ltr"><div class="gmail_default" style="color:#0000ff">Assuming you are aware Apple 10.12.1/2 did a number on crypto, broke SSH, HTTPS to "legacy" servers. </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div> R/  Everett Batey / Skype: wa6cre-10 / <a href="mailto:efbatey@gmail.com" target="_blank">efbatey@gmail.com</a> <br>      Please visit So Calif Linux Expo <a href="http://www.socallinuxexpo.org" target="_blank">http://www.socallinuxexpo.org</a></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 3, 2017 at 7:16 AM, Steven Kilby <span dir="ltr"><<a href="mailto:stevenkilby2@gmail.com" target="_blank">stevenkilby2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><span style="color:rgb(80,0,80);font-size:12.800000190734863px">te<wbr>stFile2"","com.apple.</span><span style="color:rgb(80,0,80);font-size:12.800000190734863px">quarantin<wbr>e",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><span class="HOEnZb"><font color="#888888"><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></font></span></div>
<br>--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer" target="_blank">https://lists.samba.org/<wbr>mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer" target="_blank">http://www.catb.org/~esr/faqs/<wbr>smart-questions.html</a><br></blockquote></div><br></div></div>