rsync permissions errors for mirors

Mark McKinstry <[email protected]> Mon, 12 Nov 2012 09:06:43 -0500
Newsgroups gmane.linux.jpackage.general
Message-ID <[email protected]>
Hello,

We have been getting the following errors when trying to rsync from rsync.mirrors.dotsrc.org . I think is related to https://www.zarb.org/pipermail/jpackage-discuss/2012-November/015165.html and https://www.zarb.org/pipermail/jpackage-discuss/2012-October/015157.html . 

It looks like it is failing because the permissions are 700 on the directory instead of 755. See the below output where 'repoview' is the directory that is failing.

$ rsync rsync://rsync.mirrors.dotsrc.org/jpackage/6.0/generic/free/

drwxr-xr-x        4096 2012/11/06 05:25:15 .
-rw-r--r--    25496745 2012/11/06 04:55:29 hdlist.cz
-rw-r--r--      326418 2012/11/06 04:55:30 synthesis.hdlist.cz
drwxr-xr-x      323584 2012/10/31 23:23:24 RPMS
drwxr-xr-x       77824 2012/10/31 23:23:18 SRPMS
drwxr-xr-x      413696 2012/11/06 05:13:32 headers
drwxr-xr-x        4096 2012/11/06 05:25:15 repodata
drwx------      180224 2012/11/02 09:41:11 repoview

$ 

The errors are about '6.0/generic/non-free', '6.0/generic/free/repoview', and '6.0/redhat-el-5.0' which all have 700 permissions The full error is this:

rsync: opendir "/6.0/generic/non-free" (in jpackage) failed: Permission denied (13)
rsync: opendir "/6.0/generic/free/repoview" (in jpackage) failed: Permission denied (13)
rsync: opendir "/6.0/redhat-el-5.0" (in jpackage) failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1532) [generator=3.0.6]


---
Mark McKinstry
Nexcess - Beyond Hosting
21700 Melrose Ave.
Southfield, MI  48075
Phone: +1.866.639.2377
Fax:   +1.248.281.0473
http://twitter.com/nexcess