Conflicting file information between versions.

Elliott A. Johnson elliott at iparadigms.com
Tue Jul 17 20:37:41 EEST 2007


Hello,

We regularly use `file` here at work and I've noticed that between file version 4.12 and file versions 4.19-4.21 I get different results for a particular MS Word Document:

With 4.19-4.21 I see this:

  box1 ~# file -v
  file-4.21
  magic file from /usr/share/misc/file/magic
  box1: ~# file FAILED.doc
  FAILED.doc: Microsoft Installer

With 4.12 I see the following:

  root at box2:~# file -v
  file-4.12
  magic data from /etc/magic:/usr/share/misc/file/magic
  root at box2:~# file FAILED.doc
  FAILED.doc: Microsoft Office Document

It appears to be a Microsoft Word 9.0 document.  Is this something that I should add locally to /usr/share/misc/file/magic?

I've tried downgrading `file`, but the earliest version of I can find online is 4.19 (actually I might be able to find an rpm floating around that I can extract the source out of).

I'm not sure if anyone is interested, but I'd appreciate any advice.

-- 
Elliott Johnson
SysAdmin
iParadigms, LLC developers of Turnitin and iThenticate
1624 Franklin Street, 7th Floor
Oakland, CA 94612



More information about the File mailing list