[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-only CVS; selective check-in permissions

From: Mark E. Hamilton
Subject: Re: read-only CVS; selective check-in permissions
Date: Wed, 01 Feb 2006 16:54:46 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.7.12-1.4.1

Marcel Stör wrote:
Hi all,

Would it be possible to put CVS into read-only mode for a short period of
time i.e. switch on/off "a check-in allowed button"? Can I temporarilly lock
out certain users or lock-out all users and selectively grant check-in

I'd be happy to get some guidelines as for how to achieve this. Thanks.

The quickest way I've found to do this (if you have administrator access to the repository) is to add this line to the CVSROOT/commitinfo file:

ALL /bin/false

This will disallow all check-ins to the repository. When you're done, remove this line. (Note that you should not commit this change but simply edit the file directly.) This does not prevent adding of a directory, however; I'm not sure if anything can prevent this in 1.11.

For more precise control of commit access, see this:

Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]