Bug 505656 - File -i produces strange results for MS Office 2007 files.
Summary: File -i produces strange results for MS Office 2007 files.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: file
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Jan Kaluža
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-12 19:08 UTC by Tyler Bannister
Modified: 2012-10-31 09:23 UTC (History)
2 users (show)

Fixed In Version: file-4.17-17
Doc Type: Bug Fix
Doc Text:
Cause: application/msword mime-type was listed twice in DOC/XLS magic patterns. Consequence: File printed "application/msword" mime-type twice. Fix: The second mime-type definition have been removed. Result: File prints application/msword only once.
Clone Of:
Environment:
Last Closed: 2012-02-21 05:45:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0201 0 normal SHIPPED_LIVE file bug fix update 2012-02-20 14:53:52 UTC

Description Tyler Bannister 2009-06-12 19:08:19 UTC
Description of problem:
When running file -i against MS Office 2007 files file returns duplicate identifiers like:
my.doc: application/msword application/msword

Version-Release number of selected component (if applicable):
file-4.17-15.el5_3.1

How reproducible:
Always

Steps to Reproduce:
1. Use MS Office 2007 to save a file in 2007 native or 2003 format.
2. scp file to server.
3. run file -i on file
  
Actual results:
file -i outputs:
my.doc: application/msword application/msword

Expected results:
file -i outputs:
my.doc: application/msword

Additional info:
I've confirmed that the bug is affecting at least 3 of my servers.  It may be the reappearance of an old bug: 249578

Comment 1 Daniel Novotny 2009-06-15 08:53:17 UTC
(In reply to comment #0)
> It may be
> the reappearance of an old bug: 249578  
yes, it is, because bug #249578 was fixed only in Fedora, but not in RHEL 5

Comment 2 Daniel Novotny 2009-10-09 12:31:55 UTC
this issue is solved by removing an old "file-4.17-powerpoint.patch"

Comment 5 RHEL Program Management 2010-08-09 18:26:01 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 9 Jan Kaluža 2012-01-05 12:12:33 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: application/msword mime-type was listed twice in DOC/XLS magic patterns.

Consequence: File printed "application/msword" mime-type twice.

Fix: The second mime-type definition have been removed.

Result: File prints application/msword only once.

Comment 10 errata-xmlrpc 2012-02-21 05:45:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0201.html


Note You need to log in before you can comment on or make changes to this bug.