简体   繁体   English

在Fedora Core上安装Gitosis时出错

[英]Error Installing Gitosis on Fedora Core

I'm trying to follow these instructions on installing gitosis: 我正在尝试按照以下说明安装gitosis:

http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

and these: 还有这些:

http://www.webtop.com.au/installing-git-and-gitosis-on-fedora-10 http://www.webtop.com.au/installing-git-and-gitosis-on-fedora-10

And at the point where I need to clone the gitosis-admin.git repository from the server I'm setting up, I am receiving this error: 在需要从我要设置的服务器克隆gitosis-admin.git存储库的时候,我收到此错误:

ERROR:gitosis.app:Unable to read config file: [Errno 13] Permission denied: '/home/git/.gitosis.conf'
fatal: The remote end hung up unexpectedly

I have followed every set of instructions imaginable at this point, and I can't seem to find anyone else who has received this error. 此时,我已经按照可以想象的所有说明进行了操作,但似乎找不到其他人收到此错误。 Any ideas would be greatly appreciated. 任何想法将不胜感激。 Thanks, 谢谢,

Dave Morris 戴夫·莫里斯(Dave Morris)

Make sure you're running that command as the git user, and make sure that the git user owns the /home/git directory. 确保您以git用户身份运行该命令,并确保git用户拥有/ home / git目录。

Are you running git clone git @yourserver:gitosis-admin.git ? 您正在运行git clone git @yourserver:gitosis-admin.git吗?

It sounds like one of those things is not the case. 听起来事情并非如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM