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

Re: File access control

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 29 Sep 2011 08:37:44 -0400

On Wed, Sep 28, 2011 at 10:41 PM, Grant <emailgrant_at_gmail.com> wrote:
> I see that subversion supports path-based authorization:
> http://svnbook.red-bean.com/en/1.5/svn.serverconfig.pathbasedauthz.html
> Is there a way to do file-based authorization?  Or maybe some sort of
> trickery to mimic file-based authorization?  If not, can anyone think
> of a way to allow read/write access to only certain files in a working
> system?  I could use chmod/chown but the files to which access is
> allowed will be changing pretty frequently so it would be nice to have
> accessible files defined in a list as part of the version control
> system, file transport mechanism, or anything else.

Files are paths too. The path-based authz applies to any path (folder
or file). For example:

@releng = rw
* = r

A rule like that works fine.

Mark Phippard
Received on 2011-09-29 14:38:17 CEST

This is an archived mail posted to the Subversion Users mailing list.