<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
@font-face
{font-family:Menlo;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.gmail-p1, li.gmail-p1, div.gmail-p1
{mso-style-name:gmail-p1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.gmail-p2, li.gmail-p2, div.gmail-p2
{mso-style-name:gmail-p2;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.gmail-s1
{mso-style-name:gmail-s1;}
span.gmail-apple-converted-space
{mso-style-name:gmail-apple-converted-space;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US">It doesn’t sound like the same situation we had, but:<br>
Try rsync with <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US">--inplace<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US">I believe default behaviour is to copy to a temp file, then rename.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US">--inplace writes to the file with the correct name straight off.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">Kindest regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">Paul Ward<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">TS Infrastructure Architect<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">Natural History Museum<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">T: 02079426450<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">E: <a href="mailto:p.ward@nhm.ac.uk">
p.ward@nhm.ac.uk</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><img border="0" width="137" height="74" style="width:1.425in;height:.775in" id="Picture_x0020_2" src="cid:image001.png@01DA5A8D.89C21EE0"></span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org>
<b>On Behalf Of </b>Losen, Stephen C (scl)<br>
<b>Sent:</b> Monday, February 5, 2024 6:56 PM<br>
<b>To:</b> gpfsug main discussion list <gpfsug-discuss@gpfsug.org><br>
<b>Subject:</b> Re: [gpfsug-discuss] Rsync from home directory to AFM directory rename permission error.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Try enabling DELETE_CHILD on Backup_ADA_2feb24<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Steve Losen<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">University of Virginia<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Research Computing<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:12.0pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12.0pt;color:black">gpfsug-discuss <<a href="mailto:gpfsug-discuss-bounces@gpfsug.org">gpfsug-discuss-bounces@gpfsug.org</a>> on behalf of Amjad Syed <<a href="mailto:amjadcsu@gmail.com">amjadcsu@gmail.com</a>><br>
<b>Reply-To: </b>gpfsug main discussion list <<a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a>><br>
<b>Date: </b>Monday, February 5, 2024 at 12:39 PM<br>
<b>To: </b>"<a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a>" <<a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a>><br>
<b>Subject: </b>[gpfsug-discuss] Rsync from home directory to AFM directory rename permission error.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hello<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I am using rsync 3.1.2-10 on centos 7.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I have an afm share /gpfs/afm/XXX-share/Backup<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The ACL on this share are as follows<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p><span lang="EN-US"> mmgetacl /gpfs/afm/marcela-archive/Backup_ADA_2feb24/<br>
#NFSv4 ACL<br>
#owner:pbj20xqu(me)<br>
#group:bio<br>
group:Authorised_XXX_Share_Users:r-x-:allow:FileInherit:DirInherit:Inherited<br>
(X)READ/LIST (-)WRITE/CREATE (-)APPEND/MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED<br>
(-)DELETE (-)DELETE_CHILD (-)CHOWN (X)EXEC/SEARCH (-)WRITE_ACL (-)WRITE_ATTR (-)WRITE_NAMED<o:p></o:p></span></p>
<p><span lang="EN-US"> <o:p></o:p></span></p>
<p><span lang="EN-US">group:Research_XXX-Archive_RWD_Share_Users:rwx-:allow:FileInherit:DirInherit:Inherited<br>
(X)READ/LIST (X)WRITE/CREATE (X)APPEND/MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED<br>
(X)DELETE (-)DELETE_CHILD (-)CHOWN (X)EXEC/SEARCH (-)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED<o:p></o:p></span></p>
<p><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">From my home directory in /gpfs/home . I have a test file testrysnc<o:p></o:p></span></p>
<p><span lang="EN-US"><o:p> </o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">getfacl testrysnc</span></span><span class="gmail-apple-converted-space"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"> </span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"># file: testrysnc</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"># owner: pbj20xqu</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"># group: bio</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">user::rw-</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">group::rw-</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">other::rw-</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p2" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;min-height:13px">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p2" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;min-height:13px">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">pwd is my home directory<o:p></o:p></span></p>
<p class="gmail-p2" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;min-height:13px">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">pwd</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;min-height:13px">
<span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">/gpfs/home/pbj20xqu</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">When i try to rsync i get the following error</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">rsync</span></span><span class="gmail-apple-converted-space"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">
</span></span><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">-Xav testrysnc</span></span><span class="gmail-apple-converted-space"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">
</span></span><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">/gpfs/afm/XXX/Backup_ADA_2feb24/</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">sending incremental file list</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">testrysnc</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">rsync: rename "/gpfs/afm/marcela-archive/Backup_ADA_2feb24/.testrysnc.bZ3DsR" -> "testrysnc": Permission denied (13)</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p2" style="margin:0cm;min-height:13px"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">sent 108 bytes</span></span><span class="gmail-apple-converted-space"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">
</span></span><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">received 156 bytes</span></span><span class="gmail-apple-converted-space"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">
</span></span><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">528.00 bytes/sec</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm"><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">total size is 0</span></span><span class="gmail-apple-converted-space"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">
</span></span><span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">speedup is 0.00</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="margin:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span class="gmail-s1"><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black">Does AFM support rsync.?</span></span><span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p></o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="gmail-p1" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal">
<span lang="EN-US" style="font-size:8.5pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>