Linux File that lost it’s attribute displaying only “??????” [closed]

In my Redhat Linux 6 I have a very strange file that doesn’t leave the system no matter how I delete it

“web.process” CANNOT BE DELETED.

It’s in /opt/folder/web/tmp/default/web.process

This “web.process” CANNOT be deleted. The command I have tried are:

  • command "rm -rf /default" prompts > “directory is not empty”

  • command "rm -f /web.process" prompts > “no such file or directory”

  • command "ll" inside the folder prompts > “??????????? ? ? ? ? ? web.process”

How can I delete this file?

COMMAND: “ls -a /opt/folder/web/tmp/default/web.process”

ls: cannot access /opt/folder/web/tmp/default/web.process: No such file or directory

COMMAND: “ls -la /opt/folder/web/tmp/default/”


ls: cannot access /opt/folder/web/tmp/default/web.process: No such file or directory
total 0
drwxrwxr-x. 2 root root 34 Jul 24 14:35 .
drwxrwxr-x. 3 root root 20 Jul 24 11:07 ..
??????????? ? ?    ?     ?            ? web.process

it seems to me that the file has lost it’s attributes and it’s impossible to delete it off my sda3.


It appears that the directory /opt/folder/web/tmp/default/ is corrupt. You should unmount the partition this folder exists on and run fsck on it. If you can’t unmount that partition at runtime (eg. because it is the root or something), take the whole system offline and do it from a livecd. Then, proceed with data recovery if necessary.

Source : Link , Question Author : Amos , Answer Author : Falcon Momot

Leave a Comment