Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291618

Summary: Initial rsync fails for new distfiles mirror
Product: Mirrors Reporter: Benjamin Barenblat <bbaren>
Component: Server ProblemAssignee: Mirror Admins <mirror-admin>
Status: RESOLVED FIXED    
Severity: normal CC: alex_y_xu, paulo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benjamin Barenblat 2009-11-02 19:42:06 UTC
I'm writing on behalf of MIT's Student Information Processing Board (sipb.mit.edu); we're currently attempting to set up a Gentoo distfiles mirror as per the instructions at http://www.gentoo.org/doc/en/source_mirrors.xml.

However, the initial rsync fails with this error:

rsync: send_files failed to open "/releases/.test/THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt" (in gentoo-distfiles): Permission denied (13)
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-11-16 01:31:22 UTC
We still need to fix that. You can ignore that for now.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-06-27 15:25:26 UTC
*** Bug 373775 has been marked as a duplicate of this bug. ***
Comment 3 Paulo LĂ­cio de Geus 2012-06-27 16:57:10 UTC
(In reply to comment #0)
> I'm writing on behalf of MIT's Student Information Processing Board
> (sipb.mit.edu); we're currently attempting to set up a Gentoo distfiles
> mirror as per the instructions at
> http://www.gentoo.org/doc/en/source_mirrors.xml.
> 
> However, the initial rsync fails with this error:
> 
> rsync: send_files failed to open
> "/releases/.test/THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt" (in gentoo-distfiles):
> Permission denied (13)

Add this to your rsync command:

--exclude="/releases/.test/"
Comment 4 Alex Xu (Hello71) 2014-05-13 22:08:31 UTC
I think this is fixed.

$ rsync -a ftp.ussg.iu.edu::gentoo-distfiles/releases/.test .
68825 /tmp % rsync ftp.ussg.iu.edu::gentoo-distfiles/releases/.test . -a                                                                                                                                                                        2014-05-13 18:07:25 alex pts/5
---------------------------------------------------------
      ___           ___           ___           ___
     /\__\         /\  \         /\  \         /\  \
    /:/  /        /::\  \       /::\  \       /::\  \
   /:/  /        /:/\ \  \     /:/\ \  \     /:/\:\  \
  /:/  /  ___   _\:\~\ \  \   _\:\~\ \  \   /:/  \:\  \
 /:/__/  /\__\ /\ \:\ \ \__\ /\ \:\ \ \__\ /:/__/_\:\__\
 \:\  \ /:/  / \:\ \:\ \/__/ \:\ \:\ \/__/ \:\  /\ \/__/
  \:\  /:/  /   \:\ \:\__\    \:\ \:\__\    \:\ \:\__\
   \:\/:/  /     \:\/:/  /     \:\/:/  /     \:\/:/  /
    \::/  /       \::/  /       \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/

          Indiana University
       Unix Systems Support Group
        ftp://ftp.ussg.iu.edu/
    Located in Bloomington, Indiana
      AKA: rsync25.us.gentoo.org

Questions and comments to: ussg@iu.edu

    !!!NOTICE!!!
    Maintenance window is every Tuesday
    beginning at 0900 (1400 GMT)

---------------------------------------------------------

exited 0 $ find .test
.test
.test/timestamp.x