CVS错误:无法创建锁定目录...权限被拒绝 [英] CVS Error: failed to create lock directory... Permission denied

查看:416
本文介绍了CVS错误:无法创建锁定目录...权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用TortoiseCVS访问CVS服务器.我收到以下错误:

I'm using using 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, however this time I've not been able to figure it out. I believe it's related to different people committing files with their own ownership.

在线阅读了几篇文章后,我尝试将/home/cvsroot和/home/cvsroot/foo更改为777权限,然后将/home/cvsroot/的所有权递归更改为cvs:cvs(我是成员).

After reading a few articles online I've tried changing /home/cvsroot and /home/cvsroot/foo to 777 permissions, and recursively changing the ownership of /home/cvsroot/ to cvs:cvs (of which I am a member).

推荐答案

正在/var/lock/cvs/foo/中创建锁定文件,您应该检查该目录的权限.

The lock file is being created in /var/lock/cvs/foo/ you should check the permissions of that directory.

这篇关于CVS错误:无法创建锁定目录...权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆