Bug 223297

Summary: file does not recognize OpenOffice "native" formats
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: fileAssignee: Martin Bacovsky <mbacovsk>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-25 14:36:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 224334    

Description Michal Jaegermann 2007-01-18 21:34:20 UTC
Description of problem:

'file' when presented with "OpenDocument Text" type .odt file,
or with "OpenOffice.org 1.0 Text Document" .sxw file, simply
resonds with "data".  It does not seem to have any problems
to recognize "Microsoft Office Document" or "Rich Text".

With pretty distinct headers it would appear that adding .odt
or .sxw enteries to 'magic' should not be an issue.  Actually
a correct identification of .ott and .stw files would be also
in order (although I am not sure how "accidental" are differences
between .sxw and .stw files which I am seeing while .ott are
"obvious").

I did not check how 'file' fares with file types produced by
other programs in OpenOffice suite.

Version-Release number of selected component (if applicable):
file-4.19-1.fc7

How reproducible:
always

Comment 1 Martin Bacovsky 2007-01-25 14:36:10 UTC
This was caused by misplaced magic rule for WINZIP. Should be fixed in
file-4.19-2.fc7. Patch sent to upstream.