svn: Not authorized to open root of edit operation

旧巷老猫 提交于 2019-12-24 10:59:58

问题


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.

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.

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

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.

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

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.


回答1:


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!




回答2:


for me the following helped, in my "authz" file I had:

[/]
* = 

I changed it to:

[/]
* = r


来源:https://stackoverflow.com/questions/8070296/svn-not-authorized-to-open-root-of-edit-operation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!