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

Re: Read Only Repository Directories

From: Chris Jensen <cjensen_at_edex.com.au>
Date: 2005-09-12 02:01:59 CEST

Hi Mark,
> Is there a way to make a repository branch read only?

Depends what you're using to access the repository. If it's Apache, then
you can just setup a permissions file according to the book and it's as
simple as
[repos:/branch]
<all_users>=r

If you're using file access or svn over ssh then I think you'll have to
use a hook script to enforce it.
I seem to recall a hook script floating around for doing just this sort
of thing, so check out the contrib area of the collabnet repository.
Chris

-- 
---------------------------------------------------------------------
Chris Jensen cjensen@edex.com.au
Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991
Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------

Received on Mon Sep 12 02:03:47 2005

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.