Hello, Please try using the latest version of SVNKit (1.7.4-v1) and enable connection logging (http://wiki.svnkit.com/Troubleshooting). Log will show what exact requests are sent to the server which may reveal the reason of the problem.
Also, server may be configured to disallow access by "User-Agent" header, e.g. disallow it for non-standard Subversion clients. You may alter SVNKit User-Agent header by setting the following system property: -Dsvnkit.http.userAgent=SVN/1.7.0 Alexander Kitaev, TMate Software, http://subgit.com/ - Svn to Git Migration! http://svnkit.com/ - Java [Sub]Versioning Library! http://hg4j.com/ - Java Mercurial Library! http://sqljet.com/ - Java SQLite Library! On 14 June 2012 16:10, Sébastien Paumier <sebastien.paum...@univ-mlv.fr> wrote: > Hi, > I am using the command line client (version SVN/1.7.0 SVNKit/1.7.0-dev) and > I get the following error when I try to delete a URL: > > java -jar svnkitclient.jar delete -m"foo" > http://www.watchsystance.com/svn/testseb/foo > > 14 juin 2012 15:56:09 > org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger log > GRAVE: CLI: svn: E170001: OPTIONS of '/svn': 403 Forbidden > (http://www.watchsystance.com) > org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: OPTIONS of > '/svn': 403 Forbidden (http://www.watchsystance.com) > at > org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62) > at > org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) > at > org.tmatesoft.svn.cli.svn.SVNDeleteCommand.run(SVNDeleteCommand.java:97) > at > org.tmatesoft.svn.cli.AbstractSVNCommandEnvironment.run(AbstractSVNCommandEnvironment.java:142) > at > org.tmatesoft.svn.cli.AbstractSVNLauncher.run(AbstractSVNLauncher.java:79) > at org.tmatesoft.svn.cli.svn.SVN.main(SVN.java:26) > at org.tmatesoft.svn.cli.SVN.main(SVN.java:22) > svn: E170001: OPTIONS of '/svn': 403 Forbidden > (http://www.watchsystance.com) > > But, when I do the same with another non java svn linux client (svn, version > 1.6.6 (r40053)), it works perfectly. > > Note 1: I just made some previous commits with the java svn client, so the > problem does not come from bad credentials. > > Note 2: on the server, I am not allowed to have access to > http://www.watchsystance.com/svn, but I can access anything down from > http://www.watchsystance.com/svn/testseb. > > So, it seems that the client tries to access to the intermediate directories > and that it provokes a access denial. Am I wrong ? > > > Best, > Sébastien Paumier > >