程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> 關於JAVA >> cvs 不能提交相關問題

cvs 不能提交相關問題

編輯:關於JAVA
 

The server reported an error while performing the "cvs commit" command.
ccookteammeal: cvs [server aborted]: cannot rename file /web/***/WebRoot/WEB-INF/,web.xml, to /web/***/WebRoot/WEB-INF/web.xml,v: Permission denied
回想之前用CVS時也遇到過這個經典問題,用戶權限問題:
問題就出現在目錄的權限上.我們安裝CVS服務器時一般都用的是混合模式登錄,需要windows和CVS共同驗證。
要登錄CVS,必須同時是CVS用戶和WINDOW用戶,並且這個用戶要對CVS目錄有讀寫權限。
一般我們新建的CVS用戶,默認在WINDOW裡只是普通用戶,對CVS目錄只有讀權限,但沒有寫權限,所以可以獲取文件,但當CVS 提交commit時,會報錯 Permission denied.
所以,遇到這種情況,就把你的CVS用戶在window(CVS服務器所在的機器)上修改為Administrator權限。
在網上又摘錄一些問題及解決如下:
症狀1:
cvs chacl default:n
cvs [chacl aborted]: server does not support chacl
***** CVS exited normally with code 1 *****
解決:是python跟wincvs不兼容,最後用python221+cvsnt-2.0.41+wincvs1.3中文版


症狀2:無法checkout模塊
cvs checkout 大狼的工作目錄 (in directory E:\CVS\sssss)
cvs server: User user4 cannot access lxwDIR
***** CVS exited normally with code 1 *****
解決:沒有給user4的用戶此工作目錄的讀寫權限


症狀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中去


症狀4:無法提交修改,加文件等
cvs add: Empty password used - try 'cvs login' with a real password
cvs [add aborted]: authorization failed: server 192.168.0.105 rejected access to E:/cvs/KHRoot for user user2
***** CVS exited normally with code 1 *****
解決:應為我用user1用戶checkout了模塊,但用user2修改文件並提交,或加文件,重新用user2再在其他目錄checkout一下模塊,修改提交就可以了


症狀5:無法給模塊附用戶
cvs chacl user4:rcw
***** CVS exited normally with code 1 *****
cvs [server aborted]: "chacl" requires write access to the repository
解決,我用user4登錄了,只有administrator有此權限

 

 
  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved