python - 在 Fedora Core 上安装 Gitosis 时出错

标签 python linux git fedora 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

此时我已经遵循了所有可以想象到的说明,而且我似乎找不到其他人收到此错误。任何想法将不胜感激。谢谢,

戴夫·莫里斯

最佳答案

确保您以 git 用户身份运行该命令,并确保 git 用户拥有/home/git 目录。

你在运行 git clone git@yourserver:gitosis-admin.git 吗?

听起来有些事情并非如此。

关于python - 在 Fedora Core 上安装 Gitosis 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2105390/

相关文章:

linux - bash 隐藏默认的 stderr 代码并将其替换为我自己的

git 仅添加修改过的更改并忽略未跟踪的文件

git - 如何在 GIT 中查看暂存区中的文件内容?

python - Pandas 从查找 DataFrame 列中减去 DataFrame 列

python - xlsxwriter 中的日期条件格式格式化空白单元格和符合条件的单元格

python - Pinguin rcorr 热图

python - 使用从 json 键定义的抽象方法创建 ABC

linux - esmtp 应用程序未授权 smtp 服务器

linux - 尝试创建 rrd 数据库时 rrdtool 给出总线错误

git - 如何解决 Git 存储库中的 merge 冲突?