svn:无权打开编辑操作的根 [英] svn: Not authorized to open root of edit operation

查看:502
本文介绍了svn:无权打开编辑操作的根的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个非常奇怪的问题在这里与SVN。让我先来解释一下(服务器)的情况。我们有配置普通LAMP堆栈,subversion和Trac的开发服务器(CentOs 5.5)。在这个服务器中,我们有几个存储库,我们开发PHP应用程序。

We have a very odd problem here with SVN. Let me first explain the (server) situation. We have development server (CentOs 5.5) with a ordinary LAMP stack, subversion and Trac configured. In this server we have several repositories where we develop PHP application.

现在的关键是,使用我们本地的Ubuntu机器检查项目(svn co)

Now the point is that checking a project out (svn co) with our local Ubuntu machines is not really a problem and neither is committing etc.

在开发服务器上检出/导出正在成为一个问题,我们得到错误:
svn:未授权打开编辑操作的根源

On the development server checking out/exporting is becoming a problem and we get the error: svn: Not authorized to open root of edit operation

我已经在互联网上搜索这个错误,我得到了很多页面告诉我们我们必须设置'anon-access = none'我们的svnserve.conf。在我们的例子中,这不是问题,因为anon访问已经设置为无。仍然没有解决这个问题。

I have searched the internet for this error and I get a lot of pages telling me we have to set-up 'anon-access=none' in our svnserve.conf. In our case this is not the problem because anon-access is already set to 'none'. Still that doesn't solve this issue.

奇怪的是,如果我们使用文件url而不是http url签出,像:svn co file:/// var / svn / etc it与网址不同: https://www.url.ext/svn/project / trunk

The weird thing is that if we checkout with a file url instead of a http url, so like: svn co file:///var/svn/etc it actually works while with a url it doesn't: https://www.url.ext/svn/project/trunk

有人有线索吗?或者可以说我应该寻找什么? SVN通过davsvn在HTTPS下通过自签名证书访问,但这似乎没有问题,导致从我们的本地机器工作是可以的。

Has anybody a clue? Or can say what I should look for? SVN is accessed thru davsvn under HTTPS with a self-signed certificate, but that doesn't seem the problem to me cause working from our local machines is okay.

推荐答案

我必须apoligize我犯了一个错误,在服务器的webroot是一个htaccess文件与订单拒绝,允许和ipaddress的服务器,我试图检查wern't在列表中允许ipaddresses。对不起!

I have to apoligize I made a mistake, on the webroot of the server was a htaccess file with order deny, allow and the ipaddress of the servers where I tried to checkout wern't in the list of allowed ipaddresses. I'm sorry!

这篇关于svn:无权打开编辑操作的根的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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