Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

Hi,

Here is a file which shows up on a webserver running debian 4 and joomla

ls -li
??--------- ? ? ? ?                ? icon-48-stats&png

Any idea why ls displays such a nonexistent file?

Regards,

jk04

asked 12 May '10, 01:39

jk04's gravatar image

jk04
11
accept rate: 0%

Please accept an answer, or provide more details so we can help.

(14 Jun '11, 11:36) rfelsburg ♦



The first thing that I would try is a fsck. Check the various options and see if there is anything more specific to inode allocation.
The second thing that I would try is to make a copy (cp) of the file, then compare it to the original one and eventually replace it.
Does the file display fine? It looks to me like it's a PNG file with an ampersand instead of a dot. If it's not supposed to be there in the first place, probably a fsck will get rid of it.

link

answered 12 May '10, 08:51

pmarini's gravatar image

pmarini
286216
accept rate: 28%

From the os point of view the file does not exist. The responses from commands such as stat, cat and rm are the same: No such file or directory – jk04 0 secs ago

(13 May '10, 02:25) jk04
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12

Asked: 12 May '10, 01:39

Seen: 2,239 times

Last updated: 14 Jun '11, 11:36

powered by OSQA