CVS/エラー:コマンドの実行中にサーバーがエラーを報告しました のバックアップ(No.1)
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- CVS/エラー:コマンドの実行中にサーバーがエラーを報告しました へ行く。
- 1 (2012-02-21 (火) 17:38:54)
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/