svn copy 导致“...(403 Forbidden) in response to PROPFIND",其他操作有效 [英] svn copy causes "...(403 Forbidden) in reponse to PROPFIND", other actions work

查看:26
本文介绍了svn copy 导致“...(403 Forbidden) in response to PROPFIND",其他操作有效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是为了简要介绍一下背景知识,我之所以要跟踪这个特定的颠覆性怪事,是因为我发现它对我们的新 Maven 设置(特别是发布插件)进行了故障排除.release:prepare 给了我隐藏在堆栈跟踪中的相同错误.

Just for a short bit of background, the reason I'm tracking this particular subversion oddity down is because I found it troubleshooting our new Maven setup (specifically the release plugin). release:prepare gives me the same error buried in a stack trace.

正在执行这个命令...
svn copy http://[server]/svn/tran1/myproject/trunk http://[server]/svn/tran1/myproject/tags/testtag

Executing this command...
svn copy http://[server]/svn/tran1/myproject/trunk http://[server]/svn/tran1/myproject/tags/testtag

...给我以下错误:
svn: 服务器发送了意外返回值 (403 Forbidden) 以响应 PROPFIND 对/svn/tran1"的请求

我认为这可能是身份验证问题,但我几乎可以做我能想到的所有其他颠覆性事情.从命令行签出、添加、提交和更新所有工作.这就是它变得非常奇怪的地方......我可以使用 Eclipse 的 Subclipse 插件创建分支.如果 Eclipse 实际上不是在做 svn copy,这可能并不都是奇怪的.

I thought this might be an authentication issue, but I'm able to do pretty much every other subversion thing I can think of. Checkout, add, commit and update all work from the command line. And here's where it gets really weird... I can create branches using Eclipse's Subclipse plugin. This might not be all that strange if Eclipse isn't actually doing an svn copy.

tran1 旁边还有一个兄弟 Subversion 存储库.复制命令在那里工作正常.

tran1 also has a sibling subversion repository next to it. The copy command works fine there.

它试图获得许可的 URL 看起来也有误.它询问/svn/tran1,当权限设置更深一层时/svn/tran1/myproject/

The URL it's trying to get permission for also looks wrong. It's asking about /svn/tran1, when the permissions are set up one level deeper /svn/tran1/myproject/

任何想法可能导致我的错误?谢谢.

Any ideas what might be causing my error? Thanks.

推荐答案

我依稀记得遇到过同样的问题.我相信问题是你至少需要对所有父文件夹的读取访问权限,直到存储库的根目录才能使用 svn copy 操作.

I vaguely remember encountering the same problem. I believe the problem turned out to be that you need at least read access to all parent folders up to the root of the repository in order to use the svn copy operation.

这篇关于svn copy 导致“...(403 Forbidden) in response to PROPFIND",其他操作有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆