Skip to content

Installing gitosis on Ubuntu 8.04 LTS

This is supposed to be more like a reminder to myself, should I ever need to install gitosis on a server again. I carefully followed all the steps described here and here (German) on my Ubuntu 8.04 LTS server. But when it came to pushing my first project to the repository, git failed with ERROR:gitosis.serve.main:Repository read access denied

Turned out that none of the hooks in repositories/gitosis-admin.git/hooks/ was executable. A simple $ sudo chmod +x * solved the problem for me. Now, everything seems to be working fine.