[Top][All Lists]

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

Re: Question regarding locking

From: Larry Jones
Subject: Re: Question regarding locking
Date: Fri, 12 Oct 2001 16:04:24 -0400 (EDT)

Mark Lancisi writes:
> I'd like to lock one of those projects. In other words, I'd like for
> everyone, except maybe one or two users, to be read only users of one of
> the projects. The other projects needs to remain read/write for all. It
> looks like I can set this up at the repository level by using the
> "readers" file. However, I cannot seem to find any info  on the web or
> reference books that say anything about locking trees at the projects
> level, or the branch or file level, for that matter.

Simply set the permissions on the repository directories appropriately. 
Typically, you create a group for the users who are allowed to write a
particular directory, make that the owning group of the directory, then
set the permissions to allow the group to write but everyone else to
just read.  You'll need to use LockDir= in $CVSROOT/CVSROOT/config if
you're not already since checkout still has to create locks.

-Larry Jones

What's Santa's definition?  How good do you have to be to qualify as good?
-- Calvin

reply via email to

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