Gitosis ERROR:gitosis.serve.main:Repository read access denied

Written by Johannes on July 2, 2013 Categories: git, gitosis, Un*x

Your ads will be inserted here by

Easy AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Google is swarming with pages with this error, I’ll add another one to the buzz.

In my case it was as simple as the executable bit missing on gitosis post-* hooks.

So

 chmod u+x /path/to/your/gitosis-admin.git/hooks/post-*

fixed the issue.

Note to self: make sure to switch to gitlab/gitlab-shell sometime soon, gitosis is obsolete for quite some time now.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">