[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: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Mon, 26 Jul 2010 10:20:31 +0100

 

> -----Original Message-----
> From: Jon Foster [mailto:Jon.Foster_at_cabot.co.uk]
> Sent: 22 July 2010 17:14
> To: kevin fauchon
> Cc: users_at_subversion.apache.org
> Subject: RE: Debian svn + apache2 configuration errors
>
> 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
>
I would be interested in seeing/using your script so +1 for getting it
added somewhere. Shame there is no 'svn-hacks.org' site like there is
for trac...

~ mark c
Received on 2010-07-26 11:21:15 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.