Error cloning gitosis-admin on new setup

Posted by michaelmior on Server Fault See other posts from Server Fault or by michaelmior
Published on 2009-08-06T16:02:18Z Indexed on 2010/03/12 19:47 UTC
Read the original article Hit count: 499

Filed under:
|

I have the following in my gitosis.conf. (Created via gitsosis-init < id_rsa.pub with the key from my laptop)

[gitosis]
loglevel = DEBUG

[group gitosis-admin]
writable = gitosis-admin
members = [email protected]

When I try git clone [email protected]:gitsos-admin.git, I get the following errors:

Initialized empty Git repository in /home/michael/gitsos-admin/.git/
DEBUG:gitosis.serve.main:Got command "git-upload-pack 'gitsos-admin.git'"
DEBUG:gitosis.access.haveAccess:Access check for '[email protected]' as 'writable' on 'gitsos-admin.git'...
DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'gitsos-admin.git', new value 'gitsos-admin'
DEBUG:gitosis.group.getMembership:found '[email protected]' in 'gitosis-admin'
DEBUG:gitosis.access.haveAccess:Access check for '[email protected]' as 'writeable' on 'gitsos-admin.git'...
DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'gitsos-admin.git', new value 'gitsos-admin'
DEBUG:gitosis.group.getMembership:found '[email protected]' in 'gitosis-admin'
DEBUG:gitosis.access.haveAccess:Access check for '[email protected]' as 'readonly' on 'gitsos-admin.git'...
DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'gitsos-admin.git', new value 'gitsos-admin'
DEBUG:gitosis.group.getMembership:found '[email protected]' in 'gitosis-admin'
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly

I know my key is being accepted because I have tried logging in via SSH and although a terminal won't be allocated, the authorization works.

© Server Fault or respective owner

Related posts about git

Related posts about gitosis