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

RE: Debian svn + apache2 configuration errors

From: Jon Foster <Jon.Foster_at_cabot.co.uk>
Date: Thu, 22 Jul 2010 17:14:14 +0100

Hi,
 
kevin fauchon [mailto:kevin.fauchon_at_gmail.com] wrote:
> AuthzSVNAccessFile /DATA/svn/config
[...]
> /DATA/svn/conf:
> [/]
> * =
> anonymous = r

You need $anonymous here - you're missing the $. So you granted read
access to a user that's logged in with the username "anonymous", not to
anonymous users. (But I'm not sure why you don't just do "*=r" - any of
your users could get read access by simply logging out).

> [test:/]
> test = rw
[...]
> And when i try to go to http://svn.monpoulpe.com/test
> i have a 403 forbiedden error

On a related point... I have a Python script that does "lint" like
checks on Subversion AuthZ files. It would have detected this bug,
since it reads the ".htpasswd" file and would have reported that you're
granting permissions to a non-existant user. Would the Subversion
developers be interested in including it in Subversion?

Kind regards,

Jon

**********************************************************************
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd.

If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.

Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232

Co. Registered in England number 02817269

Please contact the sender if you believe you have received this email in error.

**********************************************************************

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Received on 2010-07-22 18:18:45 CEST

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.