info-cvs
[Top][All Lists]
Advanced

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

Re: lock/authorization fails


From: Derek R. Price
Subject: Re: lock/authorization fails
Date: Fri, 01 Jun 2001 14:56:26 -0400

Jeffrey Bacon wrote:

> WinCVS Error (on remove command):
> cvs server: failed to create lock directory in repository `/home/cvsroot':
> Permission denied
> cvs server: failed to obtain dir lock in repository `/home/cvsroot'
> cvs [server aborted]: read lock failed - giving up

This is a permissions problem on the server.  You need write access to the
directory, even to read, unless LockDir is set on the server to some directory
you do have write access to.


> CVS Command Line Error: (on login command)
> $ cvs login
> (Logging in to address@hidden)
> CVS password:
>  for user jbaconrization failed: server core rejected access to
> /home/cvsroot

The server rejected access.  This could be a bad cvsroot, a bad userid, or a
bad password.  If you update your CVS server to 1.11.1p1 you would get better
error reporting out of it.


> Using CYGWIN tools in Win2000.  I've tried deleting my .cvspass file and the
> only way we know how to fix this is delete the entire local copy of the
> source and re-check it out -- not great as I have changes not checked in.
>

If deleting the local copy of the source fixes the problem, then try overriding
your root using the -d option to CVS.  Sounds like you were using a different
cvsroot when you checked out the code.  If you want to edit all the CVS/Root
files in your local workspace to point at the correct repository that could
work too.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
--
I know of no safe depository of the ultimate powers of the society but the
people themselves, and if we think them not enlightened enough to exercise that
control with a wholesome discretion, the remedy is not to take it from them,
but to inform their discretion.

                        - Thomas Jefferson, 1820.






reply via email to

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