info-cvs
[Top][All Lists]
Advanced

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

Question about LockDir


From: Reinstein, Shlomo
Subject: Question about LockDir
Date: Sun, 11 Nov 2001 18:01:59 +0200

Hi,

We have a CVS repository located in AFS. In order to have groups of users
with read-only access to the repository, we need to remove the "insert" and
"delete" permissions from the projects' repositories, and change the
directory in which CVS creates its read/write locks using the "LockDir"
option in the CVSROOT/config file.
But I have a problem with that: CVS versions 1.9 and older do not support
the LockDir option (as written in the Cederqvist), and therefore if two
different developers use different versions of CVS, e.g., one developer uses
CVS 1.9, and the other uses CVS 1.11, then they can create write locks in
two different locations, commit to the repository at the same time, and
corrupt the repository. This problem can be solved using the
CVSROOT/commitinfo, so I can enforce all developers to use CVS versions
1.10.1 and above, for example. However, "cvs commit" is not the only command
that changes the repository. There are also "cvs tag" and "cvs admin", for
example. How do I solve the problem of using multiple versions of CVS, one
that knows LockDir and one that doesn't?

I'm sure I'm not the first one to run into this problem... but I didn't find
it on the mailing list nor in the manual. The manual mentions this problem,
but it does not say how to solve it.

Thanks a lot,
Shlomo




reply via email to

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