Conflicting file information between versions.
Christos Zoulas
christos at zoulas.com
Tue Jul 17 20:42:49 EEST 2007
On Jul 17, 10:37am, elliott at iparadigms.com ("Elliott A. Johnson") wrote:
-- Subject: Conflicting file information between versions.
| 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.
The problem is that we need to have a native OLE2 parser to reliably detect
microsoft documents. All the hacked magic entries in different versions of
file worked for some and failed for other documents. I will be working on
that...
christos
More information about the File
mailing list