添加文件时 Subversion 出现意外 405
我刚刚向 SVN 存储库添加了一个新用户。他们对存储库具有读/写权限。他们还在 Repo 目录上拥有文件权限(最多可修改,包括写入和创建)。当用户尝试向项目添加文件或提交文件时,他们会收到 405 响应(注意:不是 401)。
他们的身份验证似乎正确,但有些地方不太正常。我不太懂 SVN 管理员,所以我很茫然。哦,我已经重新启动了 SVN 服务。通过Microsoft Visual Studio 2008使用Visual SVN和TortoiseSVN连接,服务器是Visual SVN Server。
想法?
TIA
CBB
I've just added a new user to a SVN repository. They have read/write perms on the repo. They also have file perms (up to Modify, including Write and Create) on the Repo directory. When the user tries to add a file to the project, or commit a file, they get a 405 response (note: not a 401).
They seem to be authenticating correctly, but something is out of whack. I'm not much of an SVN admin, so I'm at a loss. Oh, and I've restarted the SVN service. Connecting using Visual SVN and TortoiseSVN through Microsoft Visual Studio 2008, server is Visual SVN Server.
Thoughts?
TIA
CBB
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现了问题...首先,它实际上是 403,而不是 405。问题是 Visual SVN 中存储库名称区分大小写,而我的存储库路径中有一些大小写错误的字符。
我能够使用“重新定位”命令修复外壳,现在一切正常。这是Windows(不区分大小写的文件系统)与Unix(区分大小写的文件系统)的问题。
I found the problem...first of all, it was actually a 403, not a 405. The problem was that the repository name is case-sensitive in Visual SVN, and my path to the repository had some badly cased characters in it.
I was able to fix the casing with the Relocate command, and everything works fine now. It's a Windows (non case-sensitive file system) versus Unix (case-sensitive file system) thing.