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

Re: Subversion file-based authorization

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 18 Feb 2008 13:35:54 -0500

On Feb 18, 2008 1:08 PM, Miguel Rentes <miguel.rentes_at_efacec.pt> wrote:
>
> Hi everyone,
>
> Is there a way of ensuring that only a user (or a group of users) can
> change a specific file in a given directory? For example, suppose I have
> these files on a given directory:
>
> - abc.c
> - abc.h
> - vernum.h
>
> and I want user harry to change vernum.h but not abc.c or abc.h. All other
> users except harry can change abc.c or abc.h. Is there a way to change the
> authz file to put this kind of authorization?

Subversion's built-in authorization only provides directory-level
control. To get finer-grained control (and to gain the ability to use
wildcards), look into the svnperms.py pre-commit hook script.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-18 19:36:14 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.