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

RE: Errors with svnperms.py and svnperms.conf

From: Pulkit Kumar <pulkit_kumar_at_persistent.co.in>
Date: Thu, 12 Mar 2009 09:52:54 +0530

Hello All,

Greetings!!!!!!!
Any help/pointers on the below issue will be highly appreciated.

Regards,
Pulkit
________________________________
From: Pulkit Kumar
Sent: Tuesday, March 10, 2009 11:16 AM
To: 'users_at_subversion.tigris.org'
Subject: RE: Errors with svnperms.py and svnperms.conf

Hello All,

My apologies for not providing the details about the functionality that I am expecting this hook to perform!!!!!
Actually this is a pre-commit hook that will prevent all the users accept the one specified in svnperms.conf to add/modify/update the trunk folder in the repository once it is created.

Regards,
Pulkit
________________________________
From: Pulkit Kumar
Sent: Tuesday, March 10, 2009 10:48 AM
To: 'users_at_subversion.tigris.org'
Subject: Errors with svnperms.py and svnperms.conf

Hello All,

I am trying to configure svnperms.py and svnperms.conf on windows.

After doing all the necessary changes in svnperms.py and svnperms.conf, when I try to commit, I get the following error despite of setting full permissions for myself on trunk folder:

Commit failed (details follow):
Commit blocked by pre-commit hook (exit code 1) with output:
error: you don't have enough permissions for this transaction:
you can't update trunk/build.xml

Below are the contents of batch file and attached are svnperms.py and svnperms.conf that I am using:

set REPOS=%1
set TXN=%2
set SVNLK="C:\Program Files\VisualSVN Server\bin\svnlook.exe"

"C:\Python25\python.exe" "<Path to Repository>\hooks\svnperms.py" -r "%repos%" -t "%txn%" -f "<Path to Repository>\hooks\svnperms.conf"
 exit 1

 exit 0

Any pointers in this regard will be really appreciated.

Regards,
Pulkit

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-12 06:03:17 CET

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.