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条)

报告相同问题?

悬赏问题

  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图2.0 版本点聚合中Marker的位置无法实时更新,如何解决呢?
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题