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

AuthzSVNAccess problem

From: Mike Dewhirst <miked_at_dewhirst.com.au>
Date: 2005-03-16 06:18:40 CET

Is anyone able to help me restrict access to Subversion via TortoiseSVN
please?

SuSE 9.1 linux
Apache 2.0.49
Subversion 1.0.0.51
and
TortoiseSVN 1.1.3 on WinXP

The problem is that userids and passwords in the
/srv/svn/user_access/auth-file are being ignored when the
"AuthzSVNAccessFile /srv/svn/user_access/access-policy" line below is
enabled.

As soon as that line is commented out, the userids and passwords are
recognised and r/w access is granted to all repositories below the
SVNParentPath.

This is the offending portion of subversion.conf ...

<Location /repos>
   DAV svn
   SVNParentPath /srv/svn/repos
   AuthzSVNAccessFile /srv/svn/user_access/access-policy
   AuthType Basic
   AuthName "repositories"
   AuthUserFile /srv/svn/user_access/auth-file
   Require valid-user
   <LimitExcept GET PROPFIND OPTIONS REPORT>
      #
   </LimitExcept>
</Location>

</IfModule>

This is the content of the aforementioned
"/srv/svn/user_access/access-policy" file

# groups and access policy
[groups]
grpmike = miked
grppczen = alex, rob

[pysrc:/repos/pysrc/]
@grpmike = rw

[pczen:/repos/pczen/]
@grpmike = rw
@grppczen = r

Any hints gratefully accepted.

Thanks

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 06:22:00 2005

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.