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

后端 未结 3 822
花落未央
花落未央 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 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
    

提交回复
热议问题