Home » Questions » Computers [ Ask a new question ]

Why can't I delete a file marked as a socket from my linux ext3 filesystem?

Why can't I delete a file marked as a socket from my linux ext3 filesystem?

I'm running Ubuntu 9.04 with a ext3 filesystem. A while ago I was hacking on the flock 2.0 source and I have just tried to delete the source directory, but a single file could not be deleted when using the rm -rf command. So, now I'm in the following state:

Asked by: Guest | Views: 49
Total answers/comments: 1
Guest [Entry]

"To me it looks like filesystem corruption, because that .svn-base file should not be a socket: it should contain the base revision of the wizWaterMark.bmp file checked out from subversion.

Some hints should come from dmesg, but I would immediately remount the filesystem readonly (mount -o remount,ro /mountpoint) and do an fsck on it.

Good luck!"