info-cvs
[Top][All Lists]
Advanced

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

Re: help in CVS


From: Larry Jones
Subject: Re: help in CVS
Date: Tue, 4 Dec 2001 11:13:21 -0500 (EST)

Rahul Ramchandra Parkhi writes:
> 
> I am installing cvs server.I have created the repository.I have created
> the groups also for having read/write access to the repository.But the
> problem is only the person who has done the initial import can do
> checkout.No other user of the repository can do checkout..the server says
>       
>    failed to create lock directory in repository '../..' : permission
>    denied
>    failed to obtain dir lock in repository '../..'
>    read lock failed - giving up

You need to set the permissions on the repository directories; see:

        <http://www.cvshome.org/docs/manual/cvs_2.html#SEC13>

If all your users are in the same group, you probably want to set the
group-id of all the files and directories in your repository to that
group.  If new files and directories get their group-id from the
creating process instead of the parent directory on your system, you can
probably fix that by setting the set-group-id (SGID) bit on all of the
directories in your repository (chmod g+s).  If you want to allow
read-only access to some directories, you will have to set LockDir in
your CVSROOT/config file to a world-writable directory so that read-only
users can still create lock files. 

-Larry Jones

It works on the same principle as electroshock therapy. -- Calvin



reply via email to

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