info-cvs
[Top][All Lists]
Advanced

[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
permissions?

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:

http://ximbiot.com/cvs/wiki/index.php?title=CVS_FAQ#How_can_I_deny_a_commit_action_in_the_main_branch_.28trunk.29_for_some_specific_users_or_groups.3F

--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666





reply via email to

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