You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Dewhirst <mi...@dewhirst.com.au> on 2005/03/16 05:18:40 UTC

AuthzSVNAccess problem

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

Re: AuthzSVNAccess problem

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mar 15, 2005, at 11:18 PM, Mike Dewhirst wrote:
>
> Subversion 1.0.0.51

mod_authz_svn doesn't work properly with SVNParentPath in svn 1.0.0.   
The bug was fixed in 1.0.1.

(You should be running a 1.1.3 server anyway;  the 1.0 line is dead.)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org