https://bugzilla.novell.com/show_bug.cgi?id=490982
Summary: [PATCH] 'file' command does not recognize OpenOffice/KOffice/StarOffice documents Classification: openSUSE Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: phdm@macqel.be QAContact: qa@suse.de Found By: ---
Created an attachment (id=283327) --> (https://bugzilla.novell.com/attachment.cgi?id=283327) patch fixing 'file' to recognize OpenOffice/KOffice/StarOffice documents
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1 Firefox/3.0.8
when I use the command-line 'file' command on a OpenOffice file, 'file' answers 'data' instead of e.g. 'OpenDocument Spreadsheet'
Reproducible: Always
Steps to Reproduce: 1. 2. 3.
Applying the patch on a running system is not enough. One must also as root issue the following commands: cd /usr/share/misc file -C magic
https://bugzilla.novell.com/show_bug.cgi?id=490982
Cyril Hrubis chrubis@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com |
https://bugzilla.novell.com/show_bug.cgi?id=490982
User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=490982#c1
Dr. Werner Fink werner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Dr. Werner Fink werner@novell.com 2009-04-01 05:36:21 MDT --- This is already fixed in openSuSE 11.1:
# ZIP archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu) 0 string PK\003\004
4 byte 0x00 Zip archive data
!:mime application/zip
4 byte 0x09 Zip archive data, at least v0.9 to
extract !:mime application/zip
4 byte 0x0a Zip archive data, at least v1.0 to
extract !:mime application/zip
4 byte 0x0b Zip archive data, at least v1.1 to
extract !:mime application/zip
0x161 string WINZIP Zip archive data, WinZIP
self-extracting !:mime application/zip
4 byte 0x14
30 ubelong !0x6d696d65 Zip archive data, at least v2.0 to
extract !:mime application/zip