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/
このページのURL: