Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-09-2011, 09:37 AM   #1
Senior Member
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,533

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
CVS lock file -- I can't find it to remove it!


Folks here at my office are running into an issue with CVS; apparently there is a lock on a directory, bearing my username, that prevents a certain operation (version tagging), and I wish for the problem to go away.

I've referred to the CVS documentation concerning lock files, however I cannot locate any such files in the CVS repository (so as to remove them).

I've gone as far as removing the offending directory from my check-out area, and then restoring it using "update", but still no joy. Then I attempted to "release" the directory, only to be greeted with the message that the directory is locked; for example:
cvs release path/to/dir
You have [0] altered files in this repository.
Are you sure you want to release directory `path/to/dir': y
cvs release: [14:33:09] waiting for dwhitney67's lock in /cvs_repository/path/to/dir
<same message above repeats every 30 secs>
Any suggestions on how to fix CVS?


Problem solved; apparently CM decided to place CVS lock files in some other area other than within $CVSROOT; hence the reason I could not locate the lock file.

Last edited by dwhitney67; 05-09-2011 at 09:52 AM.
Old 05-09-2011, 12:35 PM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295

Glad to hear you found the solution to your problem. Off the Zero Reply List. Have fun with Linux.

Kind regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied gabsik Linux - Server 6 08-30-2012 09:39 PM
I can remove a file with the permissions 444.Any way to lock it to avoid removing it? tirengarfio Linux - Newbie 3 06-03-2010 06:24 AM
Using find with file name and mtime to remove files gets Arg list too long error smaxey Linux - General 3 12-30-2009 05:34 PM
cvs checkout problem failed to create lock directory ShaqDiesel Linux - Software 1 10-17-2009 03:42 AM
CVS: Can I restrict the "cvs remove" to specific users? CaptainRandom Linux - Software 4 01-13-2005 03:53 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration