I've encountered a really weird problem on a NAS volume I'm accessing on OS X. I have a PNG file that I tried to delete, but something went wrong and it still appears when I run ls or view the directory in Finder (icon is blank, though). Here's where it gets freaky:
Running plain
lslists the file along with everything that does exist, no problem. Same thing withls -a,-h, or-w.If I run
lswith-lor-i, or try tormormvthe file, I get the error "No such file or directory" instead of output. Everything else that should show up does.Running
ls -sprints0 3-keys-to-manifestation-og.png
So I've got a file with zero size, that I cannot delete or rename. There is no issue with special characters in the filename, as was suggested with similar problems.
Any ideas about what happened, and how I can get rid of this thing?