You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Oscar Fuentes <os...@telefonica.net> on 2006/09/30 20:52:34 UTC

Per-directory access control inconsistency

I've setup a Subversion server (v 1.4.0) on Win2K, Apache
2.0.59. Then, set per-directory access control as per the instructions
on the Subversion book.

My intent is to completely hide the existence of some directories to
certain users. The directory structure is like this:

/trunk
/trunk/common
/trunk/project1
/trunk/project2
...

All users have access to /trunk/common. User X has access to
/trunk/projectX and should not be allowed to know the existence of
other /trunk/project directories.

First I tried giving access to /trunk for all users and forbidding
access for userX to /trunk/projectY (where X != Y). A svn chechout for
user X gets /trunk/common and /trunk/projectX. No references to other
directories. Good. But svn ls http://host/repo/trunk lists all
directories under /trunk. Bad. IMO this is inconsistent: for a given
user, a directory either fully exists or does not exist at all. For
Subversion, a directory exists depending on the operation the user
requests.

Then tried to give access to userX to just /trunk/common and
/trunk/projectX, but then userX cannot chechout or update both
/trunk/common and /trunk/projectX on a single operation. This is more
than an annoyance: two update operations breaks atomicity.

Any idea on how to setup Subversion for this permission schema?

-- 
Oscar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org