You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Radu Rendec <ra...@ines.ro> on 2006/06/05 14:43:11 UTC

Checkout ignores restricted paths

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