Re: rsync permissions errors for mirors

Mark McKinstry <[email protected]> Mon, 3 Dec 2012 10:24:01 -0500
Newsgroups gmane.linux.jpackage.general
Message-ID <[email protected]>
Will,

It's still failing with the same error.

If you want an easy way to duplicate the error, the following will do it for you:

rsync -a rsync://rsync.mirrors.dotsrc.org/jpackage/6.0/redhat-el-5.0/ /tmp


---
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

On Nov 26, 2012, at 1:58 PM, Will Tatam wrote:

> Try now
> 
> On 11/12/2012 02:06 PM, Mark McKinstry wrote:
>> 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
>> 
>> 
>> _______________________________________________
>> JPackage-discuss mailing list
>> 
>> [email protected]
>> https://www.zarb.org/mailman/listinfo/jpackage-discuss
> 
> 
> -- 
> Will Tatam | Systems Architect
> 
> red61 | unit 3 | 75 trafalgar lane | edinburgh | eh6 4dq | united kingdom
> 
> OFFICE UK: +44 845 867 2203 extension 103
> MOBILE UK: +44 7973 866 270
> 
> www.red61.com
> 
> Red Sixty One is a limited company registered in Scotland No SC235054