Closed
Bug 979901
Opened 11 years ago
Closed 11 years ago
Can't push to releases/l10n/mozilla-beta/az/
Categories
(Developer Services :: General, task)
Developer Services
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: fubar)
Details
We added repos in bug 846804, and I just tried to do an initial push for beta, and it failed.
This is unfortunate that we're still seeing repositories regressing their permissions :-(
pushing to ssh://hg.mozilla.org/releases/l10n/mozilla-beta/az/
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 24 changesets with 962 changes to 359 files
remote: error: changegroup.z_loghistory hook raised an exception: [Errno 1] Operation not permitted: '/repo/hg/mozilla/releases/l10n/mozilla-beta/az/.hg/pushlog2.db'
Assignee | ||
Comment 1•11 years ago
|
||
Interesting. The permissions on that file SHOULD have allowed that to work, though they are less than ideal:
hgssh1.dmz.scl3# ls -al releases/l10n/mozilla-beta/az/.hg/pushlog2.db
-rw-rw-r-- 1 root scm_l10n 9216 Mar 5 07:55 releases/l10n/mozilla-beta/az/.hg/pushlog2.db
hgssh1.dmz.scl3# ls -ald releases/l10n/mozilla-beta/az/.hg
drwxrwsr-x 4 hg scm_l10n 4096 Mar 5 07:55 releases/l10n/mozilla-beta/az/.hg
Normally files are owned by hg and then changed to the id of whoever pushed, as seen on other files, e.g.:
hgssh1.dmz.scl3# ls -al az/.hg/store/00changelog.i
-rw-rw-r-- 1 axel@mozilla.com scm_l10n 13227 Mar 5 07:55 az/.hg/store/00changelog.i
I've set ownership on the three files; push again and let me know how it goes?
I'll go troll the rest of the filesystem for other root owned files and fix.
Assignee: server-ops-devservices → klibby
Reporter | ||
Comment 2•11 years ago
|
||
I came up with a new changeset, which I successfully pushed just now.
I wonder how the l10n/mozilla-release/az repo is doing?
Also, from my recollection, whatever really causes this only ever hit things on first push.
Assignee | ||
Comment 3•11 years ago
|
||
l10n/mozilla-release/az has correct ownership and permissions. \o/
Most of the root owned files were .hg/branch and .hg/dirstate, so I suspect permissions were incorrectly cleaned up after doing an initial clone. Also, it seems like a lot of these have been repos that were created ages ago, and may have predated current documentation and/or scripts. :-\
In any case, non-user repos have had root owned files chowned to hg and user repos are currently processing.
Assignee | ||
Comment 4•11 years ago
|
||
I think we're ok here; re-open if that's not the case.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in
before you can comment on or make changes to this bug.
Description
•