You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ramaraj Subramanian <ra...@virtusa.com> on 2006/04/19 04:51:48 UTC

How to use svnperms.py in precommit.tmpl

Hi All,

 

Can anyone help me out to configure svnperms.py in precommit.tmpl script
to restrict access to user? 

 

I want to know where to place the config file for python script and the
python script.  It would be very helpful if anyone can send the sample
configuration file for the same. Thanks in advance.

 

Thanks & Regards,

Ramaraj S.

Software Engineer

Ext. No. 3377

Mobile : 91- 98408 - 20796

 

 


Re: How to use svnperms.py in precommit.tmpl

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
svnperms.py can live *anyehwer*, but typically goes in the "hooks" directory and is called by a "pre-commit" script. The pre-commit script can be copied and edited from the pre-commit.tmpl script, created when you built the repository.

The default location for the svnperms.conf is in the "conf" location of the repository.

I'll post a sample pre-commit and svnperms.conf script later today.
  ----- Original Message ----- 
  From: Ramaraj Subramanian 
  To: users@subversion.tigris.org 
  Sent: Wednesday, April 19, 2006 12:51 AM
  Subject: How to use svnperms.py in precommit.tmpl


  Hi All,

   

  Can anyone help me out to configure svnperms.py in precommit.tmpl script to restrict access to user? 

   

  I want to know where to place the config file for python script and the python script.  It would be very helpful if anyone can send the sample configuration file for the same. Thanks in advance.

   

  Thanks & Regards,

  Ramaraj S.

  Software Engineer

  Ext. No. 3377

  Mobile : 91- 98408 - 20796