Top/CVS/エラー:コマンドの実行中にサーバーがエラーを報告しました

CVS/エラー:コマンドの実行中にサーバーがエラーを報告しました のバックアップソース(No.1)

//CVS/エラー:コマンドの実行中にサーバーがエラーを報告しました
CVSコミット時に以下のようなエラーになることがあります。

 cvs コミット" コマンドの実行中にサーバーがエラーを報告しました。
 MyProject: cvs server: ERROR: cannot write file 
 /home/cvsroot/MyRepository/MyProject/MyPackage/Attic/MyClass.java,v: Permission denied
 MyProject: cvs server: Couldn't open rcs file 
 `/home/cvsroot/MyRepository/MyProject/MyPackage/MyClass.java,v': No such file or directory
 MyProject: cvs server: cannot remove 
 /home/cvsroot/MyRepository/MyProject/MyPackage/MyClass.java,v: No such file or directory

コミット中に回線が切断されたなどの問題で「Attic」という隠しディレクトリが作成され、その後、再コミットしようとしてもそのディレクトリが邪魔して書き込めないようです。
「/home/cvsroot/MyRepository/MyProject/MyPackage/Attic/」と、その中のファイルを誰でも読み書きできるようにすると回復できることがあります。
以下はコマンド例です。

 chmod -Rf 777 /home/cvsroot/MyRepository/MyProject/MyPackage/Attic/

ページ新規作成

新しいページはこちらから投稿できます。

TOP