CVS error: Failed to create lock directory ... Permission denied

I use TortoiseCVS to access the CVS server. I get the following error:

In D:\source\foo: "C:\Program Files\CVSNT\cvs.exe" -q update -P -d
CVSROOT=:ssh:annan@foo-bar.co.uk:/home/cvsroot

cvs update: failed to create lock directory for `/home/cvsroot/foo' (/var/lock/cvs/foo/#cvs.lock): Permission denied
cvs update: failed to obtain dir lock in repository `/home/cvsroot/foo'
cvs [update aborted]: read lock failed - giving up

Error, CVS operation failed

I had this problem before and managed to fix it, but this time I could not figure it out. I believe that this is due to the fact that different people take files with their property.

After reading several articles on the Internet, I tried to change / home / cvsroot and / home / cvsroot / foo to 777 permissions and recursively change the ownership of / home / cvsroot / to cvs: cvs (of which I am an element).

+5
source share
3 answers

/var/lock/cvs/foo/, .

+7

, .

cvs -d @cvs:/files/cvs co vcommon

.

: cvs -d @cvs:/files/cvs/vcommon co package

0

, ​​ "". , , , - . , .

0

All Articles