我正在尝试按照以下说明安装 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
此时我已经遵循了所有可以想象到的说明,而且我似乎找不到其他人收到此错误。任何想法将不胜感激。谢谢,
戴夫·莫里斯
最佳答案
确保您以 git 用户身份运行该命令,并确保 git 用户拥有/home/git 目录。
你在运行 git clone git@yourserver:gitosis-admin.git 吗?
听起来有些事情并非如此。
关于python - 在 Fedora Core 上安装 Gitosis 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2105390/