[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lock files again.
From: |
Andrzej_Michalec |
Subject: |
Lock files again. |
Date: |
Mon, 13 Aug 2001 10:11:21 +0200 |
Hi,
I have some trouble with CVS lock files. Screen listing should explain
that problem. Where are lock files? I have locked some file but another
user can operate on this file in repo without problems. It seems to be
locked (unlock response is at first 'unlocked' and then 'No locks are set')
but where is this lock file? Invisible and unusable lock files?
==========
address@hidden michalec]$ cvs -v
Concurrent Versions System (CVS) 1.11.1p1 (client/server)
/cut/
address@hidden michalec]$ cat /cvsrep/CVSROOT/config | grep LockDir
LockDir=/var/lock/cvs
address@hidden michalec]$ cvs -d /cvsrep admin -l proj/file.doc
RCS file: /cvsrep/proj/file.doc,v
1.2 locked
done
address@hidden michalec]$ ls -laR /var/lock/cvs
/var/lock/cvs:
total 12
drwxrwxr-x 3 root users 4096 Aug 10 23:20 .
drwxrwxr-x 6 root uucp 4096 Aug 10 22:42 ..
drwxrwxr-x 2 michalec users 4096 Aug 10 23:20 proj
/var/lock/cvs/proj:
total 8
drwxrwxr-x 2 michalec users 4096 Aug 10 23:20 .
drwxrwxr-x 3 root users 4096 Aug 10 23:20 ..
address@hidden michalec]$ cvs -d /cvsrep admin -u proj/file.doc
RCS file: /cvsrep/proj/file.doc,v
1.2 unlocked
done
address@hidden michalec]$ cvs -d /cvsrep admin -u proj/file.doc
RCS file: /cvsrep/proj/file.doc,v
No locks are set.
done
==========
Best regards,
Andy
- Lock files again.,
Andrzej_Michalec <=