出现错误:cvs [server aborted]:"passwd" requires write access to the repository.
出现错误: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如图:
[img]http://img58.ph.126.net/q0hP60oEAZ6kcRhyaDIFdw==/1834935373177860347.jpg[/img]
.#config配置:
# Set this to 'no' if pserver shouldn't check system users/passwords
SystemAuth=no
admin文件配置:
test
huang
mym
passwd 文件配置:
mym::test
huang::test
checkoutlist 文件配置:
注:admin 前面有个空格
# comment lines begin with '#'
admin error
fileattr.xml文件配置:
[code="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>
[/code]
操作:
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.
寻求解决方法..
------解决方案--------------------顶。。。。