Opened 10 years ago

Closed 10 years ago

#42326 closed defect (fixed)

Permission problems in MacPorts/testing/

Reported by: cod3monk (Julian) Owned by: skarulkar@…
Priority: Normal Milestone:
Component: server/hosting Version: 2.2.1
Keywords: Cc: neverpanic (Clemens Lang)
Port:

Description

When we rsync from rsync.macports.org, we see the following permission problems:

$ VERBOSE=1 ~/bin/rsync-wrapper-ftp.sh macports-distfiles
Old rsync options: -aqH --delay-updates --safe-links --delete-after --max-delete=40000 --timeout=600
New rsync options: -v --progress -aH --delay-updates --safe-links --delete-after --max-delete=40000 --timeout=600
Doing work now, calling rsync: rsync -v --progress -aH --delay-updates --safe-links --delete-after --max-delete=40000 --timeout=600 rsync.macports.org::distfiles '/data/ftp///macports/distfiles//'...
receiving file list ...
49855 files to consider
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1-10.6-SnowLeopard.pkg" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1-10.6-SnowLeopard.pkg.asc" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1-10.7-Lion.pkg" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1-10.7-Lion.pkg.asc" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1.chk.txt" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1.tar.bz2" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1.tar.bz2.asc" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1.tar.gz" (in distfiles): Permission denied (13)
rsync: send_files failed to open "MacPorts/testing/MacPorts-2.2.0-rc1.tar.gz.asc" (in distfiles): Permission denied (13)

sent 218 bytes  received 1232155 bytes  224067.82 bytes/sec
total size is 202905097723  speedup is 164645.85
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1536) [generator=3.0.9]
$

This leads to a failure exit-code of the rsync run.

Change History (4)

comment:1 Changed 10 years ago by cod3monk (Julian)

Cc: codemonk@… added

Cc Me!

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: cal@… added; codemonk@… removed

You don't need to Cc yourself if you're the reporter.

comment:3 Changed 10 years ago by wsiegrist@…

Owner: changed from wsiegrist@… to skarulkar@…

comment:4 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

This seems to be fixed.

Note: See TracTickets for help on using tickets.