[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restrict commits of single file
From: |
Mark D. Baushke |
Subject: |
Re: restrict commits of single file |
Date: |
Tue, 09 Oct 2007 21:45:35 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Standard CVS has two triggers which are run before the commit happens
and one that runs after it. These are called commitinfo, verifymsg and
loginfo.
The contrib directory in a cvs release contains a perl script
called cvs_acls.pl the documentation is cvs_acls.html in that
directory... See the URL:
http://cvs.savannah.nongnu.org/viewvc/ccvs/contrib/?root=cvs
The cvs_acls script will stop at the first match, so you want to use the
logic of deny for everything and then adding allow for everything except
the file you want to allow.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQFHDFjvCg7APGsDnFERAtPNAKCm3qkqAlY0CVjOBQbml2F0jIkQ9QCgheUE
XkNPrGyFWn/8dNMowvsBuGs=
=JITV
-----END PGP SIGNATURE-----