You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Erik Hatcher <ja...@ehatchersolutions.com> on 2002/03/03 13:35:53 UTC
CVS commit errors
I often get this:
cvs server: failed to create lock directory for `/home/cvs'
(/home/cvs/#cvs.lock): Permission denied
cvs server: lock failed - giving up
cvs [server aborted]: lock failed - giving up
when attempting to checkin a handful of files. But not always. Is it
something on my end? Or the CVS server? Any fixes?
Thanks,
Erik
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: CVS commit errors
Posted by Magesh Umasankar <um...@apache.org>.
From: "Erik Hatcher" <ja...@ehatchersolutions.com>
> I often get this:
>
> cvs server: failed to create lock directory for `/home/cvs'
> (/home/cvs/#cvs.lock): Permission denied
> cvs server: lock failed - giving up
> cvs [server aborted]: lock failed - giving up
>
> when attempting to checkin a handful of files. But not always. Is it
> something on my end? Or the CVS server? Any fixes?
>
There are a couple of cvs pedant perl scripts operating
on the background that checks user permission, collects diffs,
etc. before mailing out the commit message. It is one of
these scripts (logaccum.pl, IIRC) that tries to create temp
files beginning with #cvs. in /home/cvs. It usually cleans
up the temp file created once the operation is done.
I suspect you get a permission denied when somebody
else has created a similar "lock" file while you
are attempting to. I don't know enough to patch the
script, though ;-(
> Thanks,
> Erik
Cheers,
Magesh
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: CVS commit errors
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
----- Original Message -----
From: "Adam Murdoch" <ad...@yahoo.com>
> I've been getting this too, pretty regularly. It seems to go away if I
> switch from ssh tunneling, to getting cvs to use ssh directly. So maybe
its
> a client-side problem?
How do I use ssh directly with WinCVS? Possible?
Its not everytime... I did that mega-commit yesterday with no problems at
all.
Erik
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: CVS commit errors
Posted by Adam Murdoch <ad...@yahoo.com>.
> -----Original Message-----
> From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com]
> Sent: Sunday, 3 March 2002 10:36 PM
> To: ant-dev
> Subject: CVS commit errors
>
>
> I often get this:
>
> cvs server: failed to create lock directory for `/home/cvs'
> (/home/cvs/#cvs.lock): Permission denied
> cvs server: lock failed - giving up
> cvs [server aborted]: lock failed - giving up
>
> when attempting to checkin a handful of files. But not always. Is it
> something on my end? Or the CVS server? Any fixes?
>
I've been getting this too, pretty regularly. It seems to go away if I
switch from ssh tunneling, to getting cvs to use ssh directly. So maybe its
a client-side problem?
Adam
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>