Closed Bug 1409169 Opened 2 years ago Closed 2 years ago
Why doesn't Max Liu's level 3 access work?
I need permission to push to projects/oak tree in order to test on gradle automation. I thought I have level 3 access with my bugzilla email(max at mxli.us) in bug 1341164. When I try to push commits to oak, the error message show up as below: ``` A SSH connection has been successfully established. Your account (firstname.lastname@example.org) has privileges to access Mercurial over SSH. The command you specified is not allowed on this server. Goodbye. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` How can I check my permission status? Can I bind permissions to level 3 between mozilla ldap account(maliu at mozilla.com) and bugzilla account(max at mxli.us)?
Max has already been vouched for Level 1 (and Level 3). Something has happened with the two email accounts that we need help sorting out. This is also causing problems when using Task Cluster: email@example.com doesn't seem to have the same permissions as firstname.lastname@example.org.
Assignee: mozillamarcia.knous → nobody
Component: Repository Account Requests → MOC: Service Requests
Product: mozilla.org → Infrastructure & Operations
QA Contact: lypulong
Summary: Commit Access (Level 3) for Max Liu → Why doesn't Max Liu's level 3 access work?
Currently the only account that has commit access is email@example.com. Can you check your ~/.ssh/config and have it set similar to http://mozilla-version-control-tools.readthedocs.io/en/latest/hgmozilla/auth.html#ssh-configuration?
Assignee: nobody → vhua
Status: NEW → ASSIGNED
Yes, I do have these two lines in my .ssh/config. Host hg.mozilla.org User firstname.lastname@example.org IdentityFile ~/.ssh/identityFile Host reviewboard-hg.mozilla.org User email@example.com IdentityFile ~/.ssh/identityFile Is it possible that I have the privileges to access Mercurial over SSH, but the command I specified is not allowed on the server. Something more like my git-cinnabar setting is wrong during push?
Hi Vinh, Sorry, my bad. I use git-cinnabar and push url does not configured correctly. It should have "hg::" prefix. I fixed that and my level 3 access is worked as expected. Sorry to waste your time. Thanks ;) Correct setting in .git/config looks like this. ``` [remote "oak"] url = hg::https://hg.mozilla.org/projects/oak pushurl = hg::ssh://hg.mozilla.org/projects/oak fetch = +refs/heads/*:refs/remotes/oak/* push = +HEAD:refs/heads/branches/default/tip ```
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.