Package: file
Version: 4.25-1
Severity: normal

Microsoft excel documents are not detected properly. Test document:
http://www.nauka.gov.pl/_gAllery/37/76/37767/20080529_zalacznik_nr_3.xls

is seen as:

$ file -i 20080529_zalacznik_nr_3.xls
20080529_zalacznik_nr_3.xls: application/octet-stream

even that magic.mime contains *some* excel entries.

This problem is also visible to powerpoint files:
http://www.iasted.org/conferences/formatting/Presentations-Tips.ppt

Open XML files are misdetected as zip files:

Alice's Adventures in Wonderland.doc:  application/msword
Alice's Adventures in Wonderland.docx: application/zip
Office Open XML sample.doc:            application/msword
Office Open XML sample.docx:           application/zip

These docs are in Samples.zip at 
http://openxmldeveloper.org/articles/SampleDocs2.aspx

This bug affects users of for example roundcube webmail which
uses libmagic mime type for attachments information.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.11-2 (SMP w/8 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8
Shell: /bin/sh linked to /bin/bash

Versions of packages file depends on:
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libmagic1              4.25-1            File type determination library us
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

file recommends no packages.

file suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to