You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Luciano Ribeiro <lr...@intelig.com.br> on 2004/06/30 14:40:46 UTC

Auth problem

This is my AuthzSVNAccessFile:

[repos:/repos]
func = rw
kiv = r

I created the svn-auth-file thus:

htpasswd -cm c:\xampp\apache\svn-auth-file admin

This is my httpd.conf:

<Location /repos>
   DAV svn
   SVNPath c:/programs/subversion/repos
   
   AuthzSVNAccessFile "c:\xampp\auth"

   Satisfy Any
   Require valid-user

   AuthType Basic
   AuthName "Subversion repository"
   AuthUserFile c:\xampp\svn-auth-file
</Location>

and when I try to log, one authentication error occurs.
The log prompt appears 3 times.
What the problem?


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


Re: Auth problem

Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-06-30 at 09:40, Luciano Ribeiro wrote:
> This is my AuthzSVNAccessFile:
> 
> [repos:/repos]
> func = rw
> kiv = r

You have exactly one repository defined, named "repos".  You've given
permissions only on the "/repos" subdirectory within that repository. 
Nobody has access to the "/" directory of the repository.  My guess is
that you're running 'svn log' on the root directory within the
repository (don't know, because you didn't show us your log command.)

As the book suggests, try starting out by adding

[repos:/]
* = r

So that everyone has read access to '/' within the repository.




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