ノード: Checkouts/updates exit with error saying cannot expand modules, 次: , 前: I am having problems with sticky tags; how do I get rid of them?, 上: Some Real Life Problems (With Solutions)



Checkouts/updates exit with error saying cannot expand modules

チェックアウト/アップデートがモジュールを展開できないと言って、エラー で終了します。

これは CVS が悪いエラーメッセージを出す一例ですね。そのうち誰かが直 すと思いますが、しばらくは困りますね。このエラーメッセージはこのよう な感じで出ます:

     floss$ cvs co -d bwf-misc user-space/bwf/writings/misc
     cvs server: cannot find module `user-space/bwf/writings/misc' - ignored
     cvs [checkout aborted]: cannot expand modules
     

CVS は CVSROOT/modules ファイルが何かおかしいといっているように見え ます。が、本当はリポジトリ内のパーミッションの問題なのです。チェック アウトしようとしたディレクトリか、その親ディレクトリのうちのどれかが 読み出し可能になっていないのです。今回の場合は親ディレクトリでした:

     floss$ ls -ld /usr/local/cvs/user-space/bwf
     
     drwx------  19 bwf      users        1024 Aug 17 01:24 bwf/
     

ひどく間違ったこのエラーメッセージには惑わされないで下さい、これはリ ポジトリのパーミッションの問題なのです。