<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Hello, I'm running an rsync like this:  <br>
<br>
rsync -avSHP --delete-after --log-file=/opt/mirrorsync/centos_mirror/rsync-1.log --exclude-from=/opt/mirrorsync/centos_mirror/excludelist.txt rsync://centos.mirror.rafal.ca/CentOS/ /data/centos<br>
<br>
I'm running as a user that has full permissions on /data/ and /data/centos, but then I get the following errors, when the rsync runs the second time:<br>
<br>
2022/11/14 10:13:54 [68738] receiving file list
<div class="ContentPasted1">2022/11/14 10:13:56 [68738] rsync: opendir "/7.9.2009/cloud/x86_64/openstack-train/repodata/.~tmp~" (in CentOS) failed: Permission denied (13)</div>
<div class="ContentPasted1">2022/11/14 10:13:56 [68738] rsync: opendir "/7.9.2009/updates/x86_64/repodata/.~tmp~" (in CentOS) failed: Permission denied (13)</div>
<div class="ContentPasted1">2022/11/14 10:13:56 [68738] 198081 files to consider</div>
<div class="ContentPasted1">2022/11/14 10:13:57 [68751] sent 62 bytes  received 15,071,081 bytes  6,028,457.20 bytes/sec</div>
<div class="ContentPasted1">2022/11/14 10:13:57 [68751] total size is 149,535,538,669  speedup is 9,921.98</div>
2022/11/14 10:13:57 [68738] rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1819) [generator=3.2.3]</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
The strange thing is, if I login as this user, and do an: ls -la /data/centos/<span style="background-color:rgb(255, 255, 255);display:inline !important" class="ContentPasted2">/7.9.2009/cloud/x86_64/openstack-train/repodata/.~tmp~   <br>
</span><br>
The user can list that folder without issue.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
<br>
</div>
</body>
</html>