在 Fedora Core 上安装 Gitosis 时出错
我正在尝试按照以下说明安装 gitosis:
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
和这些:
http://www.webtop.com.au/installing-git-and- gitosis-on-fedora-10
当我需要从我正在设置的服务器克隆 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'm trying to follow these instructions on installing gitosis:
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
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:
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您以 git 用户身份运行该命令,并确保 git 用户拥有 /home/git 目录。
您是否正在运行 git clone git@yourserver:gitosis-admin.git ?
听起来其中一件事并非如此。
Make sure you're running that command as the git user, and make sure that the git user owns the /home/git directory.
Are you running git clone git@yourserver:gitosis-admin.git ?
It sounds like one of those things is not the case.