I've got svnserver running with parent path set and I want to support
Path-based Authorization.

 

I'm starting there server as follows:

C:\Program Files (x86)\WANdisco\Subversion>svnserve -d -r
C:/SVN/repositories

 

I'm having no trouble reading repositories from remote clients with the
svn:// protocol but I can't commit.

 

The documentation talks about setting the "authz-db" value in the
"svnserve.conf" file to define access rights.  However, I'm confused and
having some trouble with getting this to work in a parent path environment.

 

If I populate the authz and passwd files in the conf directory of a specific
repository and I start the SVNSERVE for that specific repository:

 

(i.e. C:\Program Files (x86)\WANdisco\Subversion>svnserve -d -r
C:/SVN/repositories/Test)

things seem to work fine.

 

However, if I try to set authz-db to a file in any directory other than the
conf directory of the repo. Being served it appears to fail to read it.  It
works fine if I set authz-db to just the file name in the conf directory
like:

authz-db = authz

it also works fine if I give it a complete path the same file like:

authz-db = C:/SVN/repositories/Test/conf/authz

 

However, if I copy the same file to a different directory (i.e.
c:/SVN/repositories/authz) then try to reference it either with a relative
path or a literal path:

authz-db =../../ authz

or

authz-db = C:/SVN/repositories/authz

 

Finally when I run svnserve with a parent path. no matter what I do in any
of the svnserve.conf and authz-db and password-db files anywhere. it just
seems to ignore any and all access rights settings.. It just allows
read-only access right to anonymous users. never asks for any cridentials,
and doesn't allow write rights to anything.

 

 

I've managed access rights for multiple repositories on other servers where
Apache integration was being used to provide HTTP access to the repos  but
I've never done this before using svnserve.. What am I missing?  How do you
manage the path-based Authentication for multiple repositories on a single
server using svnserve?

 

Thanks in advance,

Tom 

Reply via email to