I have a file that looks a little corrupt any ideas how to delete it?
I have tried as root toCode:$ ls -la ls: cannot access objects: Permission denied total 0 drwxrwxrwx 3 root root 72 2008-08-04 13:34 . drwxrwxrwx 3 root root 112 2008-08-04 14:18 .. ?????????? ? ? ? ? ? objects
I just get an error message sayingCode:sudo rm objects sudo chmod 777 objects sudo chown root:root objects
I also created an root shell and tried from there. I didn't expect it to work and was right.Code:rm: cannot access objects: Permission denied chmod: cannot access objects: Permission denied
It was in /usr/lib/vmware/messages/binary directory and stopped vmare from running as it needed to write something to the file. I got around this my moving the vmware directory somewhere else on the same file system. Then with recursion turned on copied it back. All but the corrupt file went back, after a bit of messing around So I am up and running again. Almost forgot the FS is reiserfs over a 3 disk raid 5 array with lvm over the top of that just for good measure.
But this is now bugging me
Thought someone out there might like to solve this puzzle. Fdisk, format etc does not count as an answer!!!
Bookmarks