在 Fedora Core 上安装 Gitosis 时出错

发布于 2024-08-18 18:08:33 字数 726 浏览 15 评论 0原文

我正在尝试按照以下说明安装 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诗酒趁年少 2024-08-25 18:08:33

确保您以 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文