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

Svnperms problem

From: Jet Wilda <jet.wilda_at_kobie.com>
Date: 2005-08-16 18:55:22 CEST


        Ok I'm trying to get svnperms to make it so nobody can modify a
tag once it is created. Bascially we have one repository with many
projects in it. i.e.


So I would like every tags area to be set so that tags can only be
created and/or deleted. However it doesn't seem to be working for me.
Here is what is in my pre-commit hook:




#Make sure the log message is at least 10 characters long

# Check that the author of this commit has the rights to perform
# the commit on the files and directories being modified.
"$PYTHON" "$PERMCHECK" "-f" "$PERMCONF" "-r" "$REPOS" "-t" "$TXN"

# All checks passed, so allow the commit.
exit 0

Ok so I call a script to make sure the message is 10 characters long and
then call svnperms.py to make sure they aren't modifying a tags
directory. Here is what is in my svnperms.conf:

trunk/.* = *(add,remove,update)
tags/[^/]+/ = *(add,remove)
branches/[^/]+/.* = *(add,remove,update)

Why isn't this working? What do I need to change to make this work?



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 18:57:43 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.