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

svn delete fails with "403 Forbidden" if root is not readable

From: Dmitry Pavlenko <pavlenko_at_tmatesoft.com>
Date: Sat, 16 Jun 2012 23:31:46 +0200

Hello,
Suppose you have a repository with authz:

[/]
* =
[/directory]
* = rw

And the repository (http://localhost:43714/repos) contains a directory (with "rw" access) and a file
in it. File deletion fails with the following stacktrace (tried with SVN r1350986):

$ svn rm http://localhost:43714/repos/directory/file --username user --password password -m ""
subversion/svn/delete-cmd.c:90: (apr_err=130003)
subversion/svn/util.c:913: (apr_err=130003)
subversion/libsvn_client/delete.c:409: (apr_err=130003)
subversion/libsvn_client/delete.c:315: (apr_err=130003)
subversion/libsvn_client/delete.c:217: (apr_err=130003)
subversion/libsvn_delta/deprecated.c:52: (apr_err=130003)
subversion/libsvn_delta/path_driver.c:169: (apr_err=130003)
subversion/libsvn_ra_serf/commit.c:1300: (apr_err=130003)
subversion/libsvn_ra_serf/options.c:381: (apr_err=130003)
subversion/libsvn_ra_serf/util.c:780: (apr_err=130003)
subversion/libsvn_ra_serf/util.c:737: (apr_err=130003)
subversion/libsvn_ra_serf/util.c:1980: (apr_err=130003)
subversion/libsvn_ra_serf/util.c:1961: (apr_err=130003)
subversion/libsvn_ra_serf/util.c:2418: (apr_err=130003)
svn: E130003: The OPTIONS response contains invalid XML (403 Forbidden)

With SVN 1.6 everything is ok.
The problem is easily reproducible.
Received on 2012-06-16 23:33:28 CEST

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

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