63459

svn: Not authorized to open root of edit operation

Question:

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: <a href="https://www.url.ext/svn/project/trunk" rel="nofollow">https://www.url.ext/svn/project/trunk</a>

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.

Answer1:

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!

Answer2:

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

[/] * =

I changed it to:

[/] * = r

Recommend

  • Copy Object Properties to a Map by Value not by Reference
  • Error The 'ClientId' option must be provided. When building a docker image
  • How to send POST request using html button
  • How do I connect to the Asana Rest API using c#?
  • Reporting Services 2005: Attempt to export to Excel gives “Object reference not set to an instance o
  • App works as desired in debug mode but crashes in Rally environment
  • How to reuse eclipse launch file in a new project
  • How to compare source in Git repository between source in SVN repository
  • Renamed directory, now SVN not allowing me to commit
  • Cannot read property 'addEvent' of undefined
  • How to use Eclipse Mars to connect to Subversion
  • Laravel 5.1 + PHPunit - API test returns always invalid argument error foreach
  • How to set up precision attribute used by @Column annotation?
  • Perl function name clash
  • Javascript unload page condition
  • How to resolve dependencies from one gradle project to another gradle project in my Eclipse workspac
  • Should I be afraid to use UDP to make a client/server broadcast talk?
  • What is ./.local/share/Trash (Unix) [closed]
  • Specifying virtual keyboard type for EditText in XML
  • Deploying a CodeRush plugin from the Community Site
  • Problem with Django using Apache2 (mod_wsgi), Occassionally is “unable to import from module” for no
  • Building Qt project for C++11 standard
  • Does Apportable support to build library binary (.a/.so)?
  • Python pickle not one-to-one: different pickles give same object
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • ADO and msqli connections very slow
  • With Hadoop, can I create a tasktracker on a machine that isn't running a datanode?
  • PHP buffered output depending on server setting?
  • Switching to Release Build causes runtime error in Web Reference
  • Change Inet root folder for iis 7
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • QuartzCore.framework for Mono Develop
  • Hits per day in Google Big Query
  • Understanding cpu registers
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • Linking SubReports Without LinkChild/LinkMaster
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • costura.fody for a dll that references another dll