Closed Bug 1170225 Opened 10 years ago Closed 10 years ago

permission denied creating bundles for gaia-central repo / gaia repos not group writable

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Assigned: gps)

Details

The CRON to generate bundles for the gaia-central repo is failing because the repo is owned by vcs-sync@mozilla.com (not hg, like most other repos). Furthermore, the repo isn't group writable. The integration/gaia* repos have permissions this way to enforce that only vcs-sync is allowed to write to them. Since group permissions aren't currently unused, we're working to work around this permissions problem by making these repos owned by the "hg" group and giving group write permissions. In terms of file mask, these repos will be like every other repo.
$ for d in gaia-central gaia gaia-1_0_0 gaia-1_0_1 gaia-1_1_0 gaia-1_1_0_hd gaia-1_2 gaia-1_2f gaia-1_3 gaia-1_3t gaia-1_4 gaia-2_0 gaia-2_1 gaia-2_1s gaia-2_2 gaia-nightly gaia-shira gaia-v1-train; do echo $d; chgrp -R hg $d; find $d -type f -print0 | xargs -0 chmod g+w; find $d -type d -print0 | xargs -0 chmod g+sw; done drwxrwsr-x 3 hg scm_level_3 4096 Dec 11 2013 b2g-inbound drwxrwsr-x 3 hg scm_level_3 4096 Dec 11 2013 fx-team drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-1_0_0 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-1_0_1 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-1_1_0 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-1_1_0_hd drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-1_2 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-1_2f drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 9 2013 gaia-1_3 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Mar 31 2014 gaia-1_3t drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Mar 13 2014 gaia-1_4 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 May 30 2014 gaia-2_0 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Aug 15 2014 gaia-2_1 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Jan 22 10:59 gaia-2_1s drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Jan 12 08:49 gaia-2_2 drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-central drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-nightly drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-shira drwxrwsr-x 3 hg scm_level_1 4096 Apr 7 2014 gaia-try drwxrwsr-x 3 vcs-sync@mozilla.com hg 4096 Dec 11 2013 gaia-v1-train drwxrwsr-x 3 hg scm_level_3 4096 Apr 28 20:25 mozilla-inbound
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.