Reinhard Brandstädter wrote:
> Hello,
>
> Is it possible to administratively lock a whole repository for any access?
> There are times where I want to completely lock-down a repository for people's
> access. A possible way could pe changing the permissions or removing the
> apache configuration but this is a bit too complex.
> What I had in mind was creating a "lock" file in the repository's directory so
> that only svnadmin commands work (e.g. dump and load) and when this lock file
> is removed people can access it again.
>
> Reinhard
If you want to still allow read-only access, you can copy /bin/false into an
unused pre-commit or start-commit script, or if you have both, just add an 'exit
1' to the top. If you want to disable all access, just move the top repository
directory.
Regards,
Blair
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 29 02:57:27 2007