Gitosis config:
[gitosis]
loglevel = DEBUG
[group gitosis-admin]
writable = gitosis-admin
members = root.server
[group testgroup]
writable = testproj1
members = Anastasia@ANASTASIA-PC
My log, when I call clone command:
myuser@mydomain /d/www
$ git clone [email protected]:repositories/testproj1
Cloning into 'testproj1'...
DEBUG:gitosis.serve.main:Got command "git-upload-pack 'repositories/testproj1'"
DEBUG:gitosis.access.haveAccess:Access check for 'myuser@mydomain' as 'wr
itable' on 'repositories/testproj1'...
DEBUG:gitosis.group.getMembership:found 'myuser@mydomain' in 'testgroup'
DEBUG:gitosis.access.haveAccess:Access check for 'myuser@mydomain' as 'wr
iteable' on 'repositories/testproj1'...
DEBUG:gitosis.group.getMembership:found 'myuser@mydomain' in 'testgroup'
DEBUG:gitosis.access.haveAccess:Access check for 'myuser@mydomain' as 're
adonly' on 'repositories/testproj1'...
DEBUG:gitosis.group.getMembership:found 'myuser@mydomain' in 'testgroup'
ERROR:gitosis.serve.main:Repository read access denied
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Whyyyy? :(
How can I issue this.
I already changed the rights for post-update.
This error is
usualllyseen when the ssh key formyuserhasn't be properly added to thekeydirfolder of thegitosis-adminrepo:myuser.pub' (as in this answer)The other can be linked to a
gitosis.confformat issue (as in this comment)Either way, gitolite is easier to maintain and more up-to-date than gitosis (see "How do programs like gitolite work?").