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

Re: Restricting permissions on tags and branches

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-16 21:12:41 CET

On Dec 16, 2004, at 1:43 PM, Jennifer Kesterson wrote:

> I'm assigned the task of restricting permissions on the tags and
> branch directories. They are located in the upper-most level of the
> respository, one directory for each.
>
> Since the Subversion isn't a file system, I'm wondering how to access
> those directories to be able to set their permissions. We are using
> Subversion 1.1 on Win32.

Read chapters 5 and 6 in the svnbook. In particular, read about
'pre-commit hooks' in chapter 5 and 'mod_authz_svn' in chapter 6. If
you're using svnserve as your server, then your only choice is to use a
pre-commit hook to restrict write access to branches and tags --
read-access isn't controllable using hooks. But if you're using apache
as your server, then mod_authz_svn can control both read and write
access on directories.

But the real reason I replied to this easy question (rather than let
someone else do it): is NASA really using subversion? What for?? :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 16 21:16:00 2004

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.