info-cvs
[Top][All Lists]
Advanced

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

Re: How to grant read-only access


From: Larry Jones
Subject: Re: How to grant read-only access
Date: Thu, 8 Jun 2006 11:05:53 -0400 (EDT)

address@hidden writes:
> 
>  I would like to provide a read-only access to it to
> other users (that are not members of me or my group). However, if they
> want to download a project with
> 
> cvs -d sun1.vzlu.local:/home/hajek/cvs checkout parsec
> 
> cvs fails because it requires write-access to the directories to create
> locks.
> I also created the "readers" and "writers" files in the CVSROOT
> repository
> (/home/hajek/cvs/CVSROOT)
> but it still doesn't work. Is there any way to get this right?

There are two possible solutions to the problem:

1) Give everyone write access to the repository directories and trust
CVS to prevent readers from doing things they shouldn't.

2) Use LockDir in the CVSROOT/config file to put the lock files in a
writable directory rather than in the repository:

        <http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_2.html#SEC13>

-Larry Jones

It's SUSIE!  It's a GIRL!  Santa would understand! -- Calvin




reply via email to

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