Closed Bug 569461 Opened 15 years ago Closed 15 years ago

Ownership and group cleanup on stage

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: coop, Assigned: arzhel)

References

Details

I'm ready to start implementing the cleaning policy cron jobs as decided in bug 342972, but there are more than a few places where older files/dirs are owned by random people. I'm happy to fix up permissions myself, but I'll need the ownership and group of the offending files changes before I can do that. In most cases, it will be easiest to do blanket chmod/chgrp since everything *should* be owned by the relevant build user. I've noted the exceptions where needed. /pub/calendar user: calbld group: calendar /pub/firefox (except /pub/firefox/tryserver-builds) user: ffxbld group: firefox /pub/firefox/tryserver-builds user: trybld group: trybld /pub/thunderbird user: tbirdbld group: thunderbird /pub/mozilla user: cltbld group: mozilla /pub/seamonkey user: seabld group: seamonkey /pub/xulrunner user: xrbld group: xulrunner
Sorry, nthomas reminds me that we want the contents of any contrib directories to remain owned by the person who uploaded them. This makes things much less straightforward, so here's a revised list complete with exceptions (starting with /home/ftp as the basedir): /pub/calendar user: calbld group: calendar exceptions: /pub/calendar/lightning/nightly/contrib/*, /pub/calendar/lightning/releases/$VERSION/contrib/*, /pub/calendar/sunbird/releases/$VERSION/contrib/* /pub/firefox user: ffxbld group: firefox exceptions: /pub/firefox/tryserver-builds, /pub/firefox/nightly/contrib/*, /pub/firefox/releases/$VERSION/contrib/*, /pub/firefox/releases/$VERSION/contrib-localized/* /pub/firefox/tryserver-builds user: trybld group: trybld /pub/thunderbird user: tbirdbld group: thunderbird exceptions: /pub/thunderbird/nightly/contrib/*, /pub/thunderbird/releases/$VERSION/contrib/*, /pub/thunderbird/releases/$VERSION/contrib-localized/* /pub/mozilla user: cltbld group: mozilla exceptions: /pub/mozilla/contrib, /pub/mozilla/nightly/contrib, /pub/mozilla/releases/$VERSION/contrib/*, /pub/mozilla/releases/$VERSION/contrib-localized/* /pub/seamonkey user: seabld group: seamonkey exceptions: /pub/seamonkey/nightly/contrib/*, /pub/seamonkey/releases/$VERSION/contrib/* /pub/xulrunner user: xrbld group: xulrunner exceptions: /pub/xulrunner/nightly/contrib/*
Assignee: server-ops → aravind
(In reply to comment #1) > exceptions: /pub/seamonkey/nightly/contrib/*, > /pub/seamonkey/releases/$VERSION/contrib/* please make that contrib* _and_ contrib*/* at least in releases, as we have contrib-localized directories that should have a group of l10n and the users who uploaded those L10n builds (the directory also has the setguid bit to ensure new uploads at least get assigned to the l10n group there). Or also except contrib-localized for us, just like for mozilla and thunderbird - whatever fits best.
Assignee: aravind → ayounsi
Any ETA on this? I'd like to get the cleanup crontabs from bug 342972 put in place, but they're useless if they can't touch the files. Even partial progress for one or two products would allow me to start the cleanup.
Should be good now, please tell me if you see something weird.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.