Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-mirrors
Navigation:
Lists: gentoo-mirrors: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-mirrors@g.o
From: 吴沁凡 <wuqinfan@...>
Subject: about setting up a gentoo source mirror
Date: Mon, 25 May 2009 21:02:12 +0800
I use the following script to set up a gentoo source mirror:<br><br>#!/bin/bash<br><br># rsync gentoo distfiles<br><br>RSYNC=&quot;/usr/bin/rsync&quot;<br>OPTS=&quot;--verbose --recursive --links --perms --times -D --delete --timeout=300&quot;<br>
SRC=&quot;rsync://<a href="http://ftp.ussg.iu.edu/gentoo-distfiles">ftp.ussg.iu.edu/gentoo-distfiles</a>&quot;<br>DST=&quot;/opt/matrix/Anonymous/mirror/gentoo&quot;<br><br>LOGFILE=&quot;rsync-gentoo-distfiles.log&quot;<br>
<br>echo `date` &gt;&gt; $LOGFILE 2&gt;&amp;1<br>echo &quot;Starting rsync distfiles...&quot; &gt;&gt; $LOGFILE 2&gt;&amp;1<br><br>${RSYNC} ${OPTS} ${SRC} ${DST} &gt;&gt; $LOGFILE 2&gt;&amp;1<br><br>echo &quot;rsync distfile end. (&quot;`date`&quot;)&quot; &gt;&gt; $LOGFILE 2&gt;&amp;1<br>
echo &quot;&quot; &gt;&gt; $LOGFILE 2&gt;&amp;1<br><br>It always gives such message:<br><br>rsync: send_files failed to open &quot;/releases/.test/THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt&quot; (in gentoo-distfiles): Permission denied (13)<br>
<br>sent 652 bytes  received 2581092 bytes  51123.64 bytes/sec<br>total size is 147072166651  speedup is 56966.21<br>rsync error: some files could not be transferred (code 23) at main.c(1524) [generator=3.0.3]<br>rsync distfile end.<br>
<br>I don`t known about the file THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt.<br>How does this happen and how can I do about it?<br>Thanks a lot.<br clear="all"><br>-- <br>wuqinfan<br>
Navigation:
Lists: gentoo-mirrors: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Rsync mirror removal request
Next by thread:
IPv6 funtime - rsync1.ipv6.gentoo.org and rsync.ipv6.gentoo.org
Previous by date:
Re: IPv6-enabling the Gentoo mirror infrastructure
Next by date:
Re: IPv6-enabling the Gentoo mirror infrastructure


Updated Jun 17, 2009

Summary: Archive of the gentoo-mirrors mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.