I have this php file that somehow is showing as a directory. It still has a php extension but when I cd the file I get:
base: cd: satisfaction.php: Input/output error
When I vim the file it looks like a directory.
Is there any way to chmod the file or something? I really don't want to remake this file as I did not get it up on the svn. Ugh! Please help.
Edit: ls -lah
shows:
-???????? ? ? ? ? satisfaction.php
Edit 2:
chown -R tyejae:tyejae satisfaction.php
chown: cannot access 'satisfaction.php': Input/output error
Edit 3: file satisfaction.php
satisfaction.php: ERROR: cannot open 'satisfaction.php' (Input/output error)
Edit 4: stat satisfaction.php
stat: cannot stat 'satisfaction.php': Input/output error
Edit 5: cat satisfaction.php
cat: satisfaction.php: Input/output error
file satisfaction.php
andstat satisfaction.php
. That looks like a corrupted file.@
before their username. For example, to ping me:@terdon
. Also, make sure you use the correct path for the file,satisfaction.php
andSatisfaction.php
are not the same file. Please edit and post the output ofstat /path/to/statisfaction.php
(change/path/to
to the correct path of course).cat satisfaction.php
?