I have a file, names.txt
. This has always been its name, no special characters or anything. I moved an old version of the file from a zip to replace it, and everything went downhill from there. First, no permissions. So I did a chown. It shows up in the ls -lb
as exactly what I'd expect.
-rwxrwxrwx 0 [me] [me] 5 Dec 30 09:28 names.txt
Except for that 0 after the permissions. I've never seen that before. It used to be 26kB in size but I was able to write "hello" to it in Python, and cat
reads it back fine. Problem is, I want it gone. And rm
can't seem to find it. Even doing the rm -i -- *
trick to have it ask me for each file it sees, nothing.
rm: remove regular file 'names.txt'? y
rm: cannot remove 'names.txt': No such file or directory
Windows has had no luck with its TAKEOWN command, even as administrator. Usually I can just go to the security settings and make myself owner. I tried the accesschk tool to see if maybe it had any clues, it can't even find the file. What do I do here?
Try to reboot. It should work.