info-cvs
[Top][All Lists]
Advanced

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

Re: Getting lock during commit stalls cvs ci


From: Jim Hyslop
Subject: Re: Getting lock during commit stalls cvs ci
Date: Tue, 31 Jan 2006 09:58:55 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden wrote:
> I haven't run into this problem before:
> 
> cvs ci -m "" reader/home/reader/scripts/perl/fetchall_wrp.pl
> cvs commit: [11:15:42] waiting for reader's lock in
> /usr/local/cvsroot/base/reader/home/reader/scripts/perl
> 
> I suspected file permission trouble but checking the files I see they
> both belong to reader and the containing directory as well
> 
> ls -la shows:
>  drwxrwxr-x   4 reader users   2704 Jan 31 05:17 .
>  drwxrwxr-x  10 reader users   2344 Jan 31 05:12 ..
>  [...]
>  -r-xr-xr-x  1 reader users 1698 Sep 23  2004
>  /usr/local/cvsroot/base/reader/home/reader/scripts/perl/\
>  fetchall_wrp.pl,v
> 
> And it is root doing the commit anyway.  I've enabled-rootcommit at
> compile time since its a single user machine, root and user are always
> the same thing.

- From a security perspective, running as root for general purpose
activities is a Really Bad Idea.

> Anyone know what the error means?

It's not a permission problem. Check for any stray files or directories
in the repository with names starting #cvs.rfl, #cvs.wfl, or #cvs.lock,
and remove them (make sure you aren't running any cvs processes, first,
though).

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD33svLdDyDwyJw+MRAoXWAJ96rekYtcheKdsa/dJhqhD+lZpslQCgp/lc
bFXOgYWaqIFKbJNPk/z5jGQ=
=mlMQ
-----END PGP SIGNATURE-----





reply via email to

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