Fix permissions of repos in gaia-l10n to be scm_l10n

RESOLVED FIXED

Status

--
major
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: Pike, Assigned: dumitru)

Tracking

Details

(Reporter)

Description

6 years ago
The repositories in gaila-l10n should have scm_l10n, and not level_1.

See the permissions listing in bug 792593 comment 8.
(Assignee)

Comment 1

6 years ago
[root@hgssh1.dmz.scl3 gaia-l10n]# for i in `cat /root/bug-768373` ; do chgrp -R scm_l10n $i; done
Assignee: server-ops-devservices → dgherman
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Just to double check (since comment 1 shows using a repo list (/root/bug-768373) that may not have been correct for both bug 768373 and bug 792593), can we get the output of the following two commands attached please?

Both to be run from the gaia-l10n directory:
 $ ls -l  # show all permissions (s/b hg:scm_l10n)
 $ grep 'pretxnchangegroup.a_singlehead' */.hg/hgrc # shows custom hook configuration

Thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 3

6 years ago
[root@hgssh1.dmz.scl3 gaia-l10n]# ls -l
total 176
drwxrwsr-x 3 hg scm_level_1 4096 Jun 26 05:12 ar
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 as
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 bn-BD
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ca
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 cs
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 cy
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 de
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 el
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 en-US
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 eo
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 es
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 et
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 eu
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ff
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 fr
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 fy-NL
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ga-IE
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 gd
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 gl
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 he
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 hi-IN
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ht
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 hu
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 id
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 it
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ja
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ko
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 lij
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ml
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 nl
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 or
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 pa
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 pl
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 pt-BR
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ro
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 ru
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 sl
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 sq
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 sv-SE
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 te
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 tr
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 ur
drwxrwsr-x 3 hg scm_l10n    4096 Sep 23 09:10 zh-CN
drwxrwsr-x 3 hg scm_l10n    4096 Jun 26 05:17 zh-TW

[root@hgssh1.dmz.scl3 gaia-l10n]# grep 'pretxnchangegroup.a_singlehead' */.hg/hgrc
ar/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
as/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
bn-BD/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ca/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
cs/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
cy/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
de/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
el/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
en-US/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
eo/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
es/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
et/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
eu/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ff/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
fr/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
fy-NL/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ga-IE/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
gd/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
gl/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
he/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
hi-IN/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ht/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
hu/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
id/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
it/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ja/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ko/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
lij/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ml/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
nl/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
or/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
pa/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
pl/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
pt-BR/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ro/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ru/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
sl/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
sq/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
sv-SE/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
te/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
tr/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
ur/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
zh-CN/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
zh-TW/.hg/hgrc:pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
(Reporter)

Comment 4

6 years ago
Seems that arabic needs a permission fix still, and maybe a grep -L is easier to digest, just listing the non-matched files?

grep -L 'pretxnchangegroup.a_singlehead' */.hg/hgrc
Fixed up arabic, all of them have the singlehead hook. I also fixed up the permissions on all their pushlogs.
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago6 years ago
Resolution: --- → FIXED
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.