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

Restricted directory causes checkout to abort

From: Doug Dicks <dwd-l_at_revelanttech.com>
Date: 2003-09-12 21:46:58 CEST

I've got a repository that looks something like this:


I've set up access controls using Apache LocationMatch directives (and
LDAP authentication) to limit access to the Salary subdirectory to only
the Human Resources folks. This works exactly like I want it to when I
access via a Web Browser. It prevents a non authorized person (not in
the require user x directive in Apache) from accessing it and prompts
for new credentials.

It works too well when I try to "svn checkout https://localhost/repo"

When it hits the restricted area, authorization fails, as it should. I
am also prompted for new credentials, but since I don't and shouldn't
know them, the checkout of that directory fails. The checkout stops
with an error. This leaves several directories not checked out.

What I want is for checkout to (optionally) print a warning and keep
going, so that my whole repository, except what I don't have access to,
is checked out.

Obviously I can work around this by checking out a directory at a time,
but it's hard enough to get the human resources and the sales folks to
use version control without the additional complication. I could write
a checkout script for them, but again, it's a complication.

So, is this a bug, a feature request, or am I just missing how to
configure Subversion correctly?

Would it work correctly if I was using mod_authz_svn instead of
LocationMatch blocks?

svn 0.29.0
apache 2.0.47
RH 9



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 12 21:47:58 2003

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.