出现错误:cvs [server aborted]:"passwd" requires write access to the repository.配置如下:操作系统:window xp安装目录:E:\CVSNT
版本:cvsnt-2.5.03.2382.msi
repository目录:e:\cvsroot
server settings如图:
.#config配置:
# Set this to 'no' if pserver shouldn't check system users/passwords
SystemAuth=no admin文件配置:
test
huang
mympasswd 文件配置:
mym::test
huang::testcheckoutlist 文件配置:
注:admin 前面有个空格
# comment lines begin with '#'
admin error
fileattr.xml文件配置: <?xml version="1.0" encoding="UTF-8"?>
<fileattr>
<directory>
<owner>test</owner>
<acl user="test">
<all/>
</acl>
<acl user="huang">
<all/>
</acl>
<acl user="mym">
<all/>
</acl>
<acl>
<all deny="1" />
</acl>
</directory>
</fileattr>操作:
1.cmd
2.输入命令:set cvsroot=:pserver:test@localhost/cvsroot
3.输入命令:cvs login
4.输入密码:******
5.输入命令想要建立新用户,此时出错:
命令一:cvs passwd -a zdm
出现提示:Adding user zdm@localhost
New Password:
输入密码:123456
出现提示:Verify Password:
输入确认密码:123456
之后就出现错误的信息:
cvs [server aborted]:"passwd" requires write access to the repository.注:用mym 这个用户密码为空登录后,想要添加用户,也出现:
cvs [server aborted]:"passwd" requires write access to the repository.寻求解决方法..
版本:cvsnt-2.5.03.2382.msi
repository目录:e:\cvsroot
server settings如图:
.#config配置:
# Set this to 'no' if pserver shouldn't check system users/passwords
SystemAuth=no admin文件配置:
test
huang
mympasswd 文件配置:
mym::test
huang::testcheckoutlist 文件配置:
注:admin 前面有个空格
# comment lines begin with '#'
admin error
fileattr.xml文件配置: <?xml version="1.0" encoding="UTF-8"?>
<fileattr>
<directory>
<owner>test</owner>
<acl user="test">
<all/>
</acl>
<acl user="huang">
<all/>
</acl>
<acl user="mym">
<all/>
</acl>
<acl>
<all deny="1" />
</acl>
</directory>
</fileattr>操作:
1.cmd
2.输入命令:set cvsroot=:pserver:test@localhost/cvsroot
3.输入命令:cvs login
4.输入密码:******
5.输入命令想要建立新用户,此时出错:
命令一:cvs passwd -a zdm
出现提示:Adding user zdm@localhost
New Password:
输入密码:123456
出现提示:Verify Password:
输入确认密码:123456
之后就出现错误的信息:
cvs [server aborted]:"passwd" requires write access to the repository.注:用mym 这个用户密码为空登录后,想要添加用户,也出现:
cvs [server aborted]:"passwd" requires write access to the repository.寻求解决方法..
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货