* [gentoo-mirrors] about setting up a gentoo source mirror
@ 2009-05-25 13:02 吴沁凡
0 siblings, 0 replies; only message in thread
From: 吴沁凡 @ 2009-05-25 13:02 UTC (permalink / raw
To: gentoo-mirrors
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]
I use the following script to set up a gentoo source mirror:
#!/bin/bash
# rsync gentoo distfiles
RSYNC="/usr/bin/rsync"
OPTS="--verbose --recursive --links --perms --times -D --delete
--timeout=300"
SRC="rsync://ftp.ussg.iu.edu/gentoo-distfiles"
DST="/opt/matrix/Anonymous/mirror/gentoo"
LOGFILE="rsync-gentoo-distfiles.log"
echo `date` >> $LOGFILE 2>&1
echo "Starting rsync distfiles..." >> $LOGFILE 2>&1
${RSYNC} ${OPTS} ${SRC} ${DST} >> $LOGFILE 2>&1
echo "rsync distfile end. ("`date`")" >> $LOGFILE 2>&1
echo "" >> $LOGFILE 2>&1
It always gives such message:
rsync: send_files failed to open
"/releases/.test/THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt" (in gentoo-distfiles):
Permission denied (13)
sent 652 bytes received 2581092 bytes 51123.64 bytes/sec
total size is 147072166651 speedup is 56966.21
rsync error: some files could not be transferred (code 23) at main.c(1524)
[generator=3.0.3]
rsync distfile end.
I don`t known about the file THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt.
How does this happen and how can I do about it?
Thanks a lot.
--
wuqinfan
[-- Attachment #2: Type: text/html, Size: 1420 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-25 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25 13:02 [gentoo-mirrors] about setting up a gentoo source mirror 吴沁凡
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox