2008-09-16 21 views
3
 
[email protected]:~/rails/ledger/releases/20080820144914/.git/hooks$ ls -al 
ls: cannot access post-commit: No such file or directory 
ls: cannot access update: No such file or directory 
ls: cannot access post-update: No such file or directory 
ls: cannot access commit-msg: No such file or directory 
ls: cannot access pre-rebase: No such file or directory 
ls: cannot access post-receive: No such file or directory 
ls: cannot access pre-applypatch: No such file or directory 
ls: cannot access pre-commit: No such file or directory 
total 8 
drwxrwxr-x 2 kt kt 4096 2008-09-09 18:10 . 
drwxrwxr-x 4 kt kt 4096 2008-09-09 18:10 .. 
-????????? ? ?   ?   ?    ? commit-msg 
-????????? ? ?   ?   ?    ? post-commit 
-????????? ? ?   ?   ?    ? post-receive 
-????????? ? ?   ?   ?    ? post-update 
-????????? ? ?   ?   ?    ? pre-applypatch 
-????????? ? ?   ?   ?    ? pre-commit 
-????????? ? ?   ?   ?    ? pre-rebase 
-????????? ? ?   ?   ?    ? update 
+0

どのようにプログラミングの質問ですか? – GEOCHET

+1

直接プログラミングに関する質問ではありませんが、それは環境問題に関連しているため、「少なくとも1人の他のプログラマーの関心があります」(faq参照)の傘の下にあります。 – ZombieSheep

答えて

5

まずオフにLinuxでディレクトリを削除することはできません、ここできれいにフォーマットあなたの質問、だ(<前でそれを囲む>タグは、これを取得するには):

[email protected]:~/rails/ledger/releases/20080820144914/.git/hooks$ ls -al 
ls: cannot access post-commit: No such file or directory 
ls: cannot access update: No such file or directory 
ls: cannot access post-update: No such file or directory 
[snip]

をとにかく、あなたが必要シングルユーザモードで起動し、fsckを実行します。今すぐリブートできない場合は、ディレクトリを/ tmpに移動して忘れてください。

1

(a)ファイルシステムに問題があるようです。私はあなたがfsckを実行し、何かを見つけるかどうかを確認することをお勧めします。

(b)プログラミング関連の質問ではないので、ここでは話題にはなりません。

0

Aptana Studioがレールを複数回使用しているため、同じ問題が発生しました。 長期的な解決策は、ファイルを作成するためにaptanaを使用することを避けることでした。

0

私はこの問題に遭遇し、すべてを試しました。驚くべきことに、この解決策は非常に簡単です。 GUIを使用し、端末ではない 1.そのフォルダ内の他のすべてのファイルを、別の名前の別のファイルに移動します。 2.問題のあるファイルだけを含むディレクトリをゴミ箱に移動します。 3ゴミ箱を空にする

はい、それは簡単です

関連する問題