[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[stp-dev] Fwd: [cross-project-issues-dev] Build/Releng teams: check your file permissions before uploading builds
|
Another reminder for our build :)
Begin forwarded message:
This is a message for Eclipse build teams and release engineers, or
anyone else that uploads files to download.eclipse.org.
When uploading your files to download.eclipse.org, please make sure
that files are world-readable, and that directories are world-
readable and world-executable. Files that do not have these
permissions cannot be read by our web server (causing 403 Forbidden
errors) and create errors on all our mirror sites when they sync
with us (which is annoying for them).
Although we have scripts to fix broken permissions, these scripts
only run at specific intervals, as crawling 400,000+ files adds
load to our servers.
You can execute these commands on your Linux/UNIX-based build
server before uploading to us:
find /path/to/build -type d -exec chmod o+rx {} \;
find /path/to/build -type f -exec chmod o+r {} \;
Then RSYNC or SCP your files using the -p parameter (to preserve
permissions). With SFTP, this is a bit more complex -- I
recommend using SCP.
Here are some of this morning's culprits:
rsync: opendir "/technology/higgins/hbx/builds/N-
N20070503-200705030501" failed: Permission denied
rsync: opendir "/technology/higgins/contextproviders/eodm/
lastNightlyBuild/javadoc" failed: Permission denied
rsync: opendir "/webtools/committers/drops/R2.0/I-
I200705030805-200705030805/apiresults" failed: Permission denied
rsync: opendir "/dsdp/dd/downloads/drops/N20070503-0200" failed:
Permission denied
rsync: opendir "/releases/europa/staging" failed: Permission denied