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

RE: How to make the "tags" folder immutable?

From: Geoff Rowell <geoff.rowell_at_varolii.com>
Date: Tue, 7 Apr 2009 15:52:08 -0400

Hi Shrinivasan,

You have two options:

1) As Andy suggested, use "authz" or path-based authorization to limit
write access. This choice is limited because it doesn't support a very
elegant form of pattern matching for the paths. If you often change the
list of projects/areas, you may find this requires constant
administration.

2) Develop a "pre-commit" hook using your favorite scripting/coding
language. This allows you to use a fancier form of path pattern matching
that can reduce your administration time.

-Geoff

-----Original Message-----
From: Andy Levy [mailto:andy.levy_at_gmail.com]
Sent: Tuesday, April 07, 2009 3:23 PM
To: Shrinivasan
Cc: users_at_subversion.tigris.org
Subject: Re: How to make the "tags" folder immutable?

On Tue, Apr 7, 2009 at 15:18, Shrinivasan <tshrinivasan_at_gmail.com>
wrote:
> Hi,
>
> I have subversion server on windows.
>
> We have several internal releases of our projects and
> we maintain those releases under "tags" folders.
>
> but we get into trouble as people often commit into tags folder.
>
> We are in the need of some kind of hook scripts
> which can prevent write on tags folders.
>
> Please help me to get the hook script for windows.

No hook needed. Deny write access to the tags directory for everyone
except those who are permitted to create tags.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=1582250

To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_subversion.tigris.org].

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1582679

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-07 21:53:07 CEST

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.