~/git/api $ git push --signed Enumerating objects: 11, done. Counting objects: 100% (11/11), done. Delta compression using up to 8 threads Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8), 1.72 KiB | 1.72 MiB/s, done. Total 8 (delta 4), reused 0 (delta 0), pack-reused 0 remote: remote: FATAL -- ACCESS DENIED remote: Repo data/api remote: User ulm@gentoo.org remote: Stage From git's update hook remote: Ref VREF 'NAME/bin/uidgid2wiki.awk' remote: Operation Fast forward push remote: FATAL: open 0 failed: No such file or directory remote: remote: error: hook declined to update refs/heads/master To git+ssh://git.gentoo.org/data/api.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'git+ssh://git.gentoo.org/data/api.git'
Turned out to be caused by the ACL that disallows non-infra members to push outside files/. I don't know why the rules are as-is, and I don't think we can improve the error message since it's coming straight out of gitolite. If you want to pursue changing the ACL, feel free to reopen the bug.