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

Problem wirh "svn copy". (Trying to access the root of the repository?)

From: Dipukumar M <dipu_m_at_satyam.com>
Date: Fri, 16 Jan 2009 13:49:43 +0900


I am using Subversion 1.5.2 + Apache 2.2.9 setup to provide http/https access to the repository users at offshore location. Apache is also configured with "mod_auth_sspi" to provide AD based authentication and authorization(project based) is done by listing the users properly in the "AuthZSVNAccessFile".

The issue is that whenever a user tries to copy a folder to different location(tagging/branching etc) in their project repository. During those operations, "svn copy" is trying to access the root of the repository.
If the user is provided with access to the root level, the operation will work fine.

But because of the company policies, I can't provide access to the root repository to an offshore user.
Interestingly, I have not faced this issue with Subversion 1.4.4 and an upgrade of my repository to Subversion 1.5.2 introduced this issue.
So why is it that the copy does a PROPFIND on the root of the repo? Any suggestions on a solution?


The "Location " directive in Apache is as follows,

<Location /repository>
  DAV svn
  SVNPath <Path to repository>
  AuthName "<Message>"
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  SSPIOfferBasic On
  require valid-user
  AuthzSVNAccessFile "<path to the directory>\svnaccess.conf"
Root of the repository : "repository"
Project location : "projects/proj_a"
proj_a administrator : "projaadmin" (this user have RW privileges to the project location ("repository/projects/proj_a") but does not have any privileges on the repository root ("repository")


Command executed:

svn copy --username <domain>\projadmin http://ourserver/repository/projects/proj_a/trunk http://ourserver/repository/projects/proj_a/tags/baseline1

Error shown:
svn: PROPFIND request failed on 'repository:/'
svn: PROPFIND of 'repository:/': authorization failed

Error log from Apache:
[Fri Jan 16 13:24:31 2009] [error] [client] Access denied: '<domain>\\projaadmin' PROPFIND repository:/

Thanks in advance,
Dipukumar M

This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-16 05:51:28 CET

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.