SVN Path Based Authorization: Granting listing access but not read access

Posted by Jim on Stack Overflow See other posts from Stack Overflow or by Jim
Published on 2010-06-17T03:29:14Z Indexed on 2010/06/17 3:33 UTC
Read the original article Hit count: 291

Filed under:
|

Hello,

We're using path-based-authorization module for Apache SVN.

It all works fine, except that when users try to check out code they have access to, their SVN clients get confused if they don't have at least read access to the parent directories - all the way up to root. It works, but some clients just get confused sometimes.

Because SVN path-based-authorization is recursively applied, we don't want to give all users read access to root, because that would give them access to all source code in the repository. It would, however, be acceptable if users could get directory listings (just not actual lines of code) for the entire repository. This would prevent the svn clients from getting confused.

Does any one know how to grant permissions to get directory listings without granting permissions to the actual contents of the files?

Thanks!

© Stack Overflow or respective owner

Related posts about svn

Related posts about apache2-module