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

Re: Subversion: list of respositories

From: Neil Bird <neil_at_jibbyjobby.co.uk>
Date: Mon, 01 Aug 2011 10:08:37 +0100

Around about 01/08/11 05:02, Andy Canfield typed ...
> I am user andy. I can point my browser to "http://SERVER/svn/subdoc" or even
> "http://SERVER/svn/fred3" with no problem, but not "http://SERVER/svn" --
> 403 Forbidden. I think I've done everything that the documentation says I
> should do, but it doesn't work.

   To my knowledge, telling mod_svn where your repos are gives it control
over that part of the access URL (http://SERVER/svn/...), but mod_svn only
“knows” about repos, and so doesn't do anything with the container/parent
directory (hence the generic 403).

   If that's not the intended functionality, then I never seen it do
anything else on multiple installs on multiple platforms.

   You mention that WebSVN lets you see the repos., but if you look at the
code (as I did when wondering about this) you'll find that this is treated
as a special case: it actually goes off to the repo. directory (as it's on
the server), does a directory listing, and then compares each repo. it finds
with the current user's read permissions, only showing those to which the
user has access.

   Which is, I guess, what you're hoping SVN would do. I couldn't say
whether there's a reason why it doesn't, whether it's design or accident.

-- 
[neil_at_fnx ~]# rm -f .signature
[neil_at_fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil_at_fnx ~]# exit
Received on 2011-08-01 11:09: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.