file command returns incorrect MIME type?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Friday 03 March 2006 16:33, Bart Schaefer wrote:
> > Here's the problem:
> >
> > [ben@kepler tmp]# file -i presentation.ppt
> > presentation.ppt: application/msword
> 
> Excerpt from /usr/share/magic.mime:

-- SNIP -- 

> The middle one of those matches the first six bytes of a powerpoint
> file.  Whether it also might match the first six bytes of some msword
> documents, I don't know.

It seems to match *any* document type. I've gotten in touch with the developer 
of the Canadian who maintains the "file" command (it's Christos) and he's 
asked for the first few thousand bytes of the file, which I've sent. 

Looks like the resolution of this sits outside the CentOS mailing list. 

-Ben
-- 
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux