weixin_42349593 2009-11-24 15:21
浏览 335
已采纳

cvs 设置用户问题 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"?>


test













[/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.

寻求解决方法..

  • 写回答

2条回答 默认 最新

  • cqllang 2009-11-24 17:37
    关注

    症状3:无法提交修改,加文件等
    cvs commit -m "no message" "新建 文本文档.txt" (in directory E:\CVS\sssss\zylDIR)
    cvs [server aborted]: "commit" requires write access to the repository
    ***** CVS exited normally with code 1 *****
    解决:没有把user4加到writers中去

    look this:

    [url]http://bbs.yesky.com/archiver/tid-2590236.html[/url]

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?