“ERROR:gitosis.serve.main:Repository read access denied” when trying to clone a git repo

后端 未结 3 826
花落未央
花落未央 2021-02-06 00:31

I have one desktop PC running Ubuntu 11.04 and one Netbook running Debian 6.0.1a. I have installed and configured git as described here, on my desktop PC.

I am also lear

相关标签:
3条回答
  • 2021-02-06 00:47

    First I would use gitolite instead. Gitosis is no longer actively developed.

    Check that you need to name the public key to your user name that appears in the config. Your public key that you commit should be renamed to jobeet.pub.

    Hope this helps.

    0 讨论(0)
  • 2021-02-06 01:06

    I got the same error while I was trying push new repository. It was caused by missing rights on /var/git/repositories/gitosis-admin.git/hooks/post-update

    sudo chmod a+x /var/git/repositories/gitosis-admin.git/hooks/post-update
    
    0 讨论(0)
  • 2021-02-06 01:09

    This frequently gets (1, 2, 3, and myself) resolved by re-generating the ssh keypair

    ssh-keygen -t rsa
    

    and adding it at the redmine account settings.

    0 讨论(0)
提交回复
热议问题