“访问被拒绝”在成功的 Git 推送期间
在 git 推送到远程期间,我总是收到“访问被拒绝”的消息,即使推送工作正常。
这是在 Windows 环境中使用 Tortoise Git。我们的服务器是 Centos 5.4,使用 winbind 与我们的 Windows Active Directory 域集成并自动创建用户 - 这似乎运行良好。这些存储库位于“git”用户下,该用户与 winbind 创建的“staff”共享一个组。存储库上的 Umask 002 允许正确共享新文件。据我所知,组权限工作正常。
我猜想这是一些非关键的 git 功能,比如日志记录,它失败了,但我担心有一天它会回来咬我。我已经搜索了日志条目,但找不到任何可以引导我发现被拒绝的内容的内容。
git.exe push --progress "origin-pip.jones" master:master
Counting objects: 30, done.
Compressing objects: 100% (19/19)
Writing objects: 100% (19/19)
Writing objects: 100% (19/19), 2.07 KiB, done.
Access denied
To ssh://[email protected]/var/git/repositories/Products/Product.git
4b3e259..8fe7b0a master -> master
Success
提前致谢。
I always get an "Access Denied" during a git push to remote, even though the push works fine.
This is using Tortoise Git from a Windows box. Our server is Centos 5.4 integrated with our Windows Active Directory domain using winbind with automatic user creation - which seems to work well. The repositories are under a 'git' user which shares a group with the 'staff' which are created by winbind. Umask 002 on the repositories allows new files to be shared correctly. As far as I can see the group permissions work fine.
I'm presuming it's some non-critical git function like logging which is failing but I am worried it will come back to bite me one day. I've searched for log entries but can't find anything to lead me to what's being denied.
git.exe push --progress "origin-pip.jones" master:master
Counting objects: 30, done.
Compressing objects: 100% (19/19)
Writing objects: 100% (19/19)
Writing objects: 100% (19/19), 2.07 KiB, done.
Access denied
To ssh://[email protected]/var/git/repositories/Products/Product.git
4b3e259..8fe7b0a master -> master
Success
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论