Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to have multiple authz files for a single subversion repository and to have them interact?

To get a better understanding of what I'm after, let me explain. We're about to roll out centrally hosted subversion repositories for all students at our university. We want to be able to specify groups of users such as teachers and administrators which students can easily give access to. To keep concurrent editing of the ACLs by multiple students simple, we're going to have one authz file for each student. This however makes global group definitions a pain as the group definitions must be updated in at least each authz files that uses it. So my questions basically amounts to, can I have one authz file with group definitions that I then reference from another authz file?

share|improve this question
I dont see any reason why you can't if you are using windows auth via group. You might be better off posting this on – Saif Khan Jun 11 '09 at 15:50
up vote 1 down vote accepted

Looing at the source to mod_authz_svn (and other parts of the source), I'm not seeing any kind of "include" functionality like you're looking for. Nor am I finding documentation that indicates that such functionaltiy exists.

I'd consider using a scripted solution of some kind to pre-process and build the final authz file from the component files. (You could use m4 for something like this, or your favorite macro processor.)

share|improve this answer
Some kind of scripted solution, probably with at database backend and reexporting of dependent files when groups change is our number two option, but multiple authz files would be more elegant (and easy to set). – Mikael Auno Jun 11 '09 at 15:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.