[Top][All Lists]

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

Re: Checking out without lock

From: Larry Jones
Subject: Re: Checking out without lock
Date: Fri, 5 Sep 2003 10:47:19 -0400 (EDT)

Ed Avis writes:
> I have read access to the CVS repository but no write access.
> Obviously this means I cannot commit any changes.  But it ought to be
> possible to get a checkout.  However even if I turn off history
> logging, cvs co won't work because it wants to make a lock file.

If you want to allow read-only access to a repository, you need to use
LockDir= in CVSROOT/config to point to a separate lock directory
(outside the repository) that everyone can write to (and you really
should set the permissions on the history file to let everyone write to
it, too, although you can make it append-only if your OS supports that

If the entire repository is really read-only and there's nothing you can
do about it, the current development version of CVS has a -R global
option to deal with it.

-Larry Jones

I think my cerebellum just fused. -- Calvin

reply via email to

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