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

Access control with apache SVNParentPath on win XP

From: Rodney Schuler <rschuler_at_gmail.com>
Date: 2006-03-15 23:52:15 CET

I am trying to set up access control over several repositories served
by apache running on a Win XP pro machine. I have apache running svn
just fine using a location block like:

<Location /svn/>
# using subversion for WebDAV
  DAV svn
# point to the directory of the subversion repositories
  SVNParentPath D:\svn
  SVNListParentPath on
# enable DeltaV autoversioning, this allows WebDAV clients (ie windows explorer)
# to use subversion as a WebDAV server while the files are versioned.
  SVNAutoversioning on
# setup authentication / authorization through SSPI
  AuthName "Sabre subversion repositories."
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  SSPIDomain sabrenet2
  SSPIOfferBasic On
  SSPIUsernameCase lower
  Require valid-user
  AuthzSVNAccessFile D:\svn\accessfile.txt
</Location>
RewriteEngine on
RewriteRule ^(/svn)$ $1/ [R]

When the access file looks like

[/]
* = r

everybody has read access as expected

[/]
* = rw

everybody has read and write access as expected

When the access file looks like

[/]
* = r
sabrenet2\raschuler = rw

Everybody has read access, and raschuler has write access.

But, when I the access file looks like

[/]
* = r

[SandBox:/]
sabrenet2\raschuler = rw

commits from sabrenet2\raschuler fail. I have tried tweeking
[SandBox:/] to be [SandBox:] [SandBox:\], [sandbox:\] [sandbox:/] and
[sandbox:]. Nothing I have tries gives a user write access
selectively to one repository.

The line in the error.log looks like:

[Wed Mar 15 16:30:49 2006] [error] [client 10.3.0.124] Access denied:
'sabrenet2\\raschuler' MKACTIVITY sandbox:

What am I missing here? How do I give one user write access to one
repository (or one directory in a repository), but not the others?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 15 23:53:22 2006

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.