Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763300 - data/api.git: cannot push
Summary: data/api.git: cannot push
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-03 18:29 UTC by Ulrich Müller
Modified: 2021-01-24 10:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2021-01-03 18:29:46 UTC
~/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'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-24 10:14:16 UTC
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.