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

How to restrict access to repository directory?

From: Ron Avriel <ravriel_at_hotmail.com>
Date: 2006-01-22 17:16:51 CET

Hi,

How can I restrict write access to a repository directory (and its
files and directories) to specific users?

I tried using svnperms.py and and commit-access-control.pl from
the pre-commit hook, but I couldn't get any of them to work right.

For svnperms.py I configured svnperms.conf:
-------------------------------------
[my-repo]
trunk/.* = *(add,remove,update)
trunk/restricted.* = admin(add,remove,update)
-------------------------------------

but with this configuration everyone had write accesses
to trunk/restricted.

For commit-access-control.pl I configured commit-access-control.cfg:
-------------------------------------
[Make everything read-only for all users]
match = .*
access = read-only

[Everyone has access to trunk]
match = ^trunk/.*
access = read-write

[Only admin has access to trunk/restricted]
match = ^trunk/restricted.*
access = read-write
users = admin
-------------------------------------

but again with this configuration everyone had write accesses to
trunk/restricted.

Any help will be greatly appreciated,
Ron

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 22 17:17:41 2006

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.