[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Not authorized to open root of edit operation

From: Jonatan HUGOSSON <hugosson_at_mail.cern.ch>
Date: Fri, 4 Apr 2008 09:11:26 +0200

Hello,
I am running subversion 1.4.6 with neon 0.25.5 and httpd 2.0.52 It runs
well using the basic apache authentication with passwordfile and via
svn+ssh. However what we need is some kind of apache authentication such
as kerberos or SOAP/NICE (CERN);

When trying to authenticate via a SOAP module (works perfectly well on a
web browser and it actually works in this case as well, the error comes
after the authentication) I get the very same error as other people in
issue 2712; http://subversion.tigris.org/issues/show_bug.cgi?id=2712

svn: REPORT request failed on '/svnperl/testrep/!svn/vcc/default'
svn: Not authorized to open root of edit operation

Subversion even creates the directory testrep with .svn in it but nothing
else. I do not allow anonymous access and if I would, it would still not
work and I would receive the exact same error. (even if I set
[/]
* = rw
in my AuthzSVNAccessFile it does not work)

I have been trying with subversion 1.4.4 as well but same result. Since I
have been trying to solve this for a couple of days I would be very
grateful for any solution or comment!

Thanks, hugo

Some more info:

### My httpd directory for the auth module:

<Location /svnperl>
DAV svn
SVNParentPath /var/svn/repository
SVNListParentPath on
#AuthzSVNAccessFile /etc/svnAccessFile

PerlAuthenHandler NICEAuthentication
PerlAuthzHandler NICEAuthorization
SSLRequireSSL # The modules only work using HTTPS
AuthName "NICE Authentication required"
AuthType Basic
Require valid-user
<Location>

### The end of the neon debug looks like this:

Running post_send hooks
ah_post_send (#0), code is 207 (want 401), WWW-Authenticate is (none)
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
ah_create, for WWW-Authenticate
Running pre_send hooks
Handling auth session.
compress: Initialization.
compress: Initialization.
Sending request headers:
REPORT /svnperl/testrep/!svn/vcc/default HTTP/1.1
Host: pcitdesson.cern.ch
User-Agent: SVN/1.4.6 (r28521) neon/0.25.5
Connection: TE
TE: trailers
Content-Length: 222
Content-Type: text/xml
Accept-Encoding: svndiff1;q=0.9,svndiff;q=0.8
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Sending request-line and headers:
Connecting to 137.138.29.208
Sending request body:
Body block (222 bytes):
[<S:update-report send-all="true"
xmlns:S="svn:"><S:src-path>https://pcitdesson.cern.ch/svnperl/testrep</S:src-path><S:target-revision>75</S:target-revision><S:entry
rev="75" start-empty="true"></S:entry></S:update-report>]
Request sent; retry is 0.
[status-line] < HTTP/1.1 500 Internal Server Error
[hdr] Date: Fri, 04 Apr 2008 07:03:36 GMT
Header Name: [date], Value: [Fri, 04 Apr 2008 07:03:36 GMT]
[hdr] Server: Apache/2.0.52 (Red Hat)
Header Name: [server], Value: [Apache/2.0.52 (Red Hat)]
[hdr] Content-Length: 241
Header Name: [content-length], Value: [241]
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
Reading 241 bytes of response body.
Got 241 bytes.
Read block (241 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="220000">
Not authorized to open root of edit operation
</m:human-readable>
</D:error>
]
Running post_send hooks
ah_post_send (#0), code is 500 (want 401), WWW-Authenticate is (none)
Request ends, status 500 class 5xx, error line:
500 Internal Server Error
Running destroy hooks.
Request ends.
svn: REPORT request failed on '/svnperl/testrep/!svn/vcc/default'
svn: Not authorized to open root of edit operation
ne_session_destroy called.
ne_session_destroy called.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-04 21:16:36 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.