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

Checkout ignores restricted paths

From: Radu Rendec <radu.rendec_at_ines.ro>
Date: 2006-06-05 16:43:11 CEST

Hi,

I'm trying to set up a SVN server using Apache and configure
per-directory access control with mod_authz_svn. The server side looks
fine, but when I checkout a certain path, restricted directories below
it are skipped.

The mod_authz_svn access file looks like this:

--cut--
[/trunk]
* = r

[/trunk/site]
* =
blade = rw
--cut--

If I checkout /trunk, then /trunk/site is simply skipped, even if I use
--username. If I checkout /trunk/site, the svn client asks for
authentication credentials and works fine.

If I change the access file and leave /trunk restricted (i.e. not
anonymously readable), everything works fine, because checking
out /trunk asks for username/password immediately.

I guess that if the checkout starts as anonymous user, it will never ask
for authentication credentials when restricted paths are encountered.

Is there any way I could let /trunk anonymously readable and /trunk/site
restricted and still be able to check the whole /trunk
(including /trunk/site) when correctly presenting the username and
password?

If you reply, please cc to my private address - I'm not subscribed to
the list.

Many thanks,

Radu Rendec

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 5 18:19:57 2006

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.