You must have omitted the ls: "ls -lod .", sans quotes. Can you access the file in any other way, e.g., with mv, touch, stat, mdls, ditto? Have you tried removing the directory in which it resides: "sudo rm -rf name_of_dir"?
You must have omitted the ls: "ls -lod .", sans quotes. Can you access the file in any other way, e.g., with mv, touch, stat, mdls, ditto? Have you tried removing the directory in which it resides: "sudo rm -rf name_of_dir"?
I just noticed that Apple changed the flags of the ls command. Please repeat the ls commands using a capital O instead of a lower case one. So, cd to where the file is, type (or paste) "ls -lO" and "ls -lOd .", without the quotes. Then cd up one level ("cd ..") and try to remove the directory: "sudo rm -rf name_of_dir". If that fails, try to affect the offending file with some classical commands, e.g., mv, touch, stat, mdls, ditto, chmod.