Gitosis

by Wolfram Saringer  (2009-04-28)
last change: 2009-04-28


Gitosis Error when trying to add another repository: Repository read access denied

This may be caused by wrong permissions on one of gitosis scripts (seems to be an error either in the setup or in the Python installation tool itself).
Under your gitosis installation directory look for the file post-update and ensure that the user gitosis is supposed to run under has execution rights.
In my case the following command resolved this issue (gitosis is installed unter /Data/gitosis):

chmod +x /data/gitosis/repositories/gitosis-admin.git/hooks/*

The link mentioned below contains a more than complete installation guide which lead me to this solution as well.


all articles represent the sole opinion of their respective author. all content comes without any warranty for correctnes, despite due diligence.