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

svn up and per-directory access

From: Børre Gaup <borre.gaup_at_samediggi.no>
Date: Thu, 26 Feb 2009 16:18:18 +0100


I am trying to set up a repository which has per-directory access to some
directories with apache2 (on Ubuntu).

I have set up a repository called myproject. Inside that I have two
directories, testdir1 and testdir2. testdir1 is hidden for everyone but
specific users.
When I point my web browser to http://localhost/svn/myrepository I see both
directories, and am able to access testdir1 when I give a valid username and

When I check out the repository as a user allowed to read and write testdir1,
I only get testdir2 in the myrepository directory, and am not able to get to
it through svn up either.
If I check out testdir1 specifically, then I get it.

Is it supposed to work this way?

This is the apache setup for this repository:

<Location /svn/myproject>
        DAV svn
        SVNPath /home/svn/myproject
        AuthType Basic
        AuthName "myproject subversion repository"
        AuthUserFile /etc/subversion/passwd

        AuthzSVNAccessFile /etc/subversion/access
        Satisfy Any
        Require valid-user


This is the access setup file:
committers = user_name

* = r
@committers = rw

* =
@committers = rw

Brre Gaup
Mob: +47 41 08 03 64
Work: +47 77 64 59 64
Received on 2009-02-26 19:27:17 CET

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.