Error Repository Read Access Denied
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and error gitosis serve main repository read access denied policies of this site About Us Learn more about Stack Overflow the
Remote Error Access Denied Or Repository Not Exported
company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Bitbucket Repository Access Denied
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes
Conq Repository Access Denied
a minute: Sign up “ERROR:gitosis.serve.main:Repository read access denied” when trying to clone a git repo up vote 10 down vote favorite 5 I have one desktop PC running Ubuntu 11.04 and one Netbook running Debian 6.0.1a. I have installed and configured git as described here, on my desktop PC. I am also learning Symfony and have setup a repository for the Jobeet maven access denied to repository project on my PC. Now, when I try to clone the repository from Debian on my Netbook, I get this error: ERROR:gitosis.serve.main:Repository read access denied I have setup ssh and can easily connect to the Ubuntu from Debian with ssh. Contents of my gitosis.conf: [gitosis] [group symfony] writable = jobeet members = ako@ako-ubuntu-11 ako@debian [group team] writable = testproject members = ako@ako-ubuntu-11 ako@debian [group gitosis-admin] members = ako@ako-ubuntu-11 ako@debian writable = gitosis-admin I have copied the id_rsa.pub file (public key of the Debian user) to the keydir directory too, and pushed back to the gitosis repo. I am able to clone the repository from Ubuntu machine, so I think it has something to do with the permissions and/or ssh. Any help is greatly appreciated. git ubuntu version-control debian share|improve this question edited Mar 25 '13 at 19:01 Adam Dymitruk 58.1k989109 asked May 26 '11 at 13:33 Omid Kamangar 2,81352457 add a comment| 3 Answers 3 active oldest votes up vote 6 down vote accepted First I would use gitolite instead. Gitosis is no longer actively developed. Check that you need to
here for a quick overview of the site git repository access denied Help Center Detailed answers to any questions you might have error:gitosis.serve.main:repository read access denied fatal "could not read from remote repository" Meta Discuss the workings and policies of this site About Us Learn more about gitosis add user Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges http://stackoverflow.com/questions/6139324/errorgitosis-serve-mainrepository-read-access-denied-when-trying-to-clone-a Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Git “ERROR:gitosis.serve.main:Repository read access denied” when using public keys up vote 0 down http://stackoverflow.com/questions/6587614/git-errorgitosis-serve-mainrepository-read-access-denied-when-using-public-k vote favorite I have setup a git server using gitosis and everything was going fine. I decided to switch to using public keys for security reasons. I generated my key on my computer using this command. ssh-keygen -t rsa -C "email@address.com" I then added the public key to the keydir and included the key in my gitosis.conf file. I committed the changes and uploaded them to the server. When I tried to pull the changes in my git repo it gave me this error. Error sfa-e1505-dn:VIIAD stefanbossbaly$ git pull DEBUG:gitosis.serve.main:Got command "git-upload-pack 'git/VIIAD.git'" DEBUG:gitosis.access.haveAccess:Access check for 'mac' as 'writable' on 'git/VIIAD.git'... DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'git/VIIAD.git', new value 'git/VIIAD' DEBUG:gitosis.group.getMembership:found 'mac' in 'app-dev' DEBUG:gitosis.group.getMembership:found 'mac' in 'test' DEBUG:gitosis.access.haveAccess:Access check for 'mac' as 'writeable' on 'git/VIIAD.git'... DEBUG:gitosis.access.haveAccess:Stripping .git suffix from 'git/VIIAD.git', new value 'git/VIIAD' DEBUG:gitosis.group.getMembership:found 'mac' in 'app-dev' DEBUG:gitosis.group.getMembe
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://serverfault.com/questions/228677/gitosis-read-access-denied About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best access denied answers are voted up and rise to the top Gitosis: read access denied up vote 1 down vote favorite 1 I'm trying to get Gitosis working on my Ubuntu server (from a Win7 client). It's installed, and I can connect to it via SSH, however, if when I try and push a new project, I get the following error: ERROR:gitosis.serve.main:Repository read access denied I since tried clearing repository read access my /home/git/ folder and starting again - but now I get that same error even when I try and grab the gitosis-admin project. Any ideas what could cause this? [edit] Adding the debug flag to the config file gives me this: C:\sandbox>git push origin master DEBUG:gitosis.serve.main:Got command "git-receive-pack '/home/git/repositories/sandbox'" DEBUG:gitosis.access.haveAccess:Access check for 'Dan@DAN-PC' as 'writable' on 'home/git/repositories/sandbox'... DEBUG:gitosis.group.getMembership:found 'Dan@DAN-PC' in 'gitosis-admin' DEBUG:gitosis.access.haveAccess:Access check for 'Dan@DAN-PC' as 'writeable' on 'home/git/repositories/sandbox'... DEBUG:gitosis.group.getMembership:found 'Dan@DAN-PC' in 'gitosis-admin' DEBUG:gitosis.access.haveAccess:Access check for 'Dan@DAN-PC' as 'readonly' on 'home/git/repositories/sandbox'... DEBUG:gitosis.group.getMembership:found 'Dan@DAN-PC' in 'gitosis-admin' ERROR:gitosis.serve.main:Repository read access denied fatal: The remote end hung up unexpectedly [edit2] To add extra information to this - I've just tried Gitolite and got a similar error: Cloning into gitolite-admin... R access for home/git/repositories/gitolite-admin DENIED to dan (Or there may be no repository at the given path. Did you spell it correctly?) fatal: The remote end hung up unexpectedly That's using the same "git" user and keys. I tried changing the directory permissions, but that didn't help. git share|improve this question edited Jan 30 '11 at 11:15 asked Jan 30 '11 at 0:00 Dan 14519 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote Any idea