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

Use Unfuddle? If you do and you see this error trying to clone a repository, it may be because:

This error looks to be happening because you are not explicitly involved in the project with which this repository is associated. You should note that even account administrators will need to be “involved” in a project in order to receive permissions to repositories associated with that project. In other words, if you add yourself to the project you should be able to connect to the repository.

Thanks to Unfuddle founder David Croswell for the solution. Worked like a charm.

3 Comments

  1. Henning
    Posted October 26, 2009 at 7:24 pm | Permalink

    In my case the gitosis.conf didnt update properly since
    /home/git/repositories/gitosis-admin.git/hooks/post-commit was a broken symlink, searching for a file named ‘post-commit’ in the distributions gitosis package and fixing the symlink, then making a dummy change in the gitosis-admin helped.

  2. Henning
    Posted October 26, 2009 at 7:32 pm | Permalink

    My fault, fonud this with google and mistook it for a general forum.
    What I described can naturally only happen if you are the one who is running gitosis on your own server.

  3. ozzloy
    Posted November 6, 2009 at 11:29 pm | Permalink

    @Henning: thanks! this is what i had to do on ubuntu 9.04, somewhat custom gitosis install:
    cd /srv/gitosis/repositories/gitosis-admin.git/hooks/post-update
    ln -sf /usr/share/python-support/gitosis/gitosis/templates/admin/hooks/post-update post-update

    changes to gitosis.conf are now reflected by the git serving behavior!

Post a Comment

Your email is never published nor shared. 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 lang="" line="" escaped="">