unable to perform push to refs/meta/config for registered users

227 views
Skip to first unread message

Lokesh Loki

unread,
Oct 11, 2023, 3:43:57 AM10/11/23
to Repo and Gerrit Discussion
Hi ,

From an administrative account git push origin HEAD:refs/meta/config is working fine. Though push permission for Registered Users is given in reference (refs/meta/config) , it is still returning permission error. Please suggest if am i missing anything here ?

Error :

remote: error: branch refs/meta/config:
remote: Configuration changes can only be pushed by project owners
remote: who also have 'Push' rights on refs/meta/config
remote: User: <username>
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done
To ssh://<gerritserver>:29418/<repo>.git
 ! [remote rejected] HEAD -> refs/meta/config (prohibited by Gerrit: not permitted: update)
error: failed to push some refs to 'ssh://<geritserver>:29418/<repo>.git'

Thank and Regards,
Lokesh M

Matthias Sohn

unread,
Oct 11, 2023, 10:30:01 AM10/11/23
to Lokesh Loki, Repo and Gerrit Discussion
On Wed, Oct 11, 2023 at 9:44 AM Lokesh Loki <lokeshl...@gmail.com> wrote:
Hi ,

From an administrative account git push origin HEAD:refs/meta/config is working fine. Though push permission for Registered Users is given in reference (refs/meta/config) , it is still returning permission error. Please suggest if am i missing anything here ?

Error :

remote: error: branch refs/meta/config:
remote: Configuration changes can only be pushed by project owners

As this error message says: only project owners can push changes to the refs/meta/config branch

-Matthias
 
remote: who also have 'Push' rights on refs/meta/config
remote: User: <username>
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done
To ssh://<gerritserver>:29418/<repo>.git
 ! [remote rejected] HEAD -> refs/meta/config (prohibited by Gerrit: not permitted: update)
error: failed to push some refs to 'ssh://<geritserver>:29418/<repo>.git'

Thank and Regards,
Lokesh M

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/a8d0b911-dd80-40b0-a40e-d86e8f8ae1a2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages