file
Recognize the type of data in a file using "magic" numbers
Binary packages in testing
| Architecture | Version | Section | Installed size |
|---|---|---|---|
| amd64 | 1:5.47-4 | utils | 80 kB |
| arm64 | 1:5.47-4 | utils | 120 kB |
| armhf | 1:5.47-4 | utils | 119 kB |
| i386 | 1:5.47-4 | utils | 75 kB |
| loong64 | 1:5.47-4 | utils | 120 kB |
| ppc64el | 1:5.47-4 | utils | 120 kB |
| riscv64 | 1:5.47-4 | utils | 76 kB |
| s390x | 1:5.47-4 | utils | 80 kB |
Description
Recognize the type of data in a file using "magic" numbers
Dependencies amd64
- Depends
- libc6 (>= 2.38), libmagic1t64 (= 1:5.47-4)
Source package
- Name
- file
- Version
- 1:5.47-4
- Maintainer
- Christoph Biedl
- Homepage
- https://www.darwinsys.com/file/
- Repository
- https://git.in-ulm.de/cbiedl/file
Bugs (83 open)
Each bug opens in the Debian bug tracking system, which holds its message log and current state.
- #1034635 important libmagic1: Mis-detects pieces of xlsx as DOS executable (block device driver) on bugs.debian.org pending against libmagic1 by Samuel Thibault reported updated upstream
- #1028125 important wrong source-contains-prebuilt-windows-binary for GB18030-encoded text file on bugs.debian.org pending by Rene Engelhard reported updated
- #1022565 important file: [regression] OpenPGP file MIME type reverted to application/octet-stream on bugs.debian.org forwarded by Paul Wise reported updated forwarded to mailman.astron.com
- #940222 important libmagic1: wrong video detection on bugs.debian.org pending by Paolo Benvenuto reported updated confirmed
- #902796 important /usr/lib/python2.7/dist-packages/magic.py: Aborts; too many arguments to str() on bugs.debian.org pending against src:file reported updated
- #876316 important buggy magic: mistakes many things (including .gz, .apk) as "DOS/MBR boot sector" since 2012-2013 "filesystem improvements" on bugs.debian.org pending by Ximin Luo reported updated upstream
- #863488 important file: upgrade broke file magic on bugs.debian.org pending by Ben Hildred reported updated moreinfounreproducible
- #614800 important Mis-detection as DOS executable (COM) on bugs.debian.org forwarded by George B. reported updated forwarded to mx.gw.com upstream
- #1141781 normal wrong output for zip files when using magic_buffer instead of magic_file on bugs.debian.org pending against libmagic1t64 by Erik Thiele reported updated
- #1136317 normal file imprecisely detects LibreOffice zip-based service files on bugs.debian.org forwarded by Gioele Barabucci reported updated forwarded to mailman.astron.com upstream
- #1134126 normal file: identify Microsoft XPS (XML Paper Specification) and OpenXPS documents instead of ZIP/OOXML on bugs.debian.org forwarded by Md Ayquassar reported updated forwarded to mailman.astron.com
- #1107543 normal libmagic-mgc: needs entries for GGML and GGUF on bugs.debian.org pending against libmagic-mgc by Russell Coker reported updated
- #1104479 normal file: detect MP3 files created by LAME on bugs.debian.org pending by Frank Heckenbach reported updated confirmedmoreinfoupstream
- #1100642 normal File declared wrongly as a javascript on bugs.debian.org pending by Bjarni Ingi Gislason reported updated confirmedupstream
- #1071439 normal file wrongly identifies php script as "C source, ASCII text" on bugs.debian.org pending by Paul Gevers reported updated
- #1068700 normal file: wrong MIME type for RAR files on bugs.debian.org pending-fixed reported updated pending
- #1041041 normal file: superflous 0 prepended to serial number in ntfs filesystem detection on bugs.debian.org forwarded reported updated forwarded to mailman.astron.com confirmed
- #1040467 normal file: /sys/firmware/acpi/bgrt/image strange behaviour on bugs.debian.org pending reported updated upstream
- #1034353 normal mime-type: image/jpeg instead of image/jls on bugs.debian.org forwarded against src:file by Mathieu Malaterre reported updated forwarded to bugs.astron.com confirmedupstream
- #1016216 normal Misdetects BMP images created by Paint 3D on bugs.debian.org pending against libmagic-mgc by Camaleón reported updated
- #1012427 normal file: fails to detect JSON files with many levels on bugs.debian.org forwarded by Vincent Lefevre reported updated forwarded to bugs.astron.com fixed-upstreampatchupstream
- #1011921 normal file: Incorrectly detects Big5 text as ISO-8859 text on bugs.debian.org pending by 積丹尼 Dan Jacobson reported updated moreinfo
- #1008247 normal file: files consisting of JSON + garbage are misdetected as JSON data on bugs.debian.org forwarded by Vincent Lefevre reported updated forwarded to bugs.astron.com fixed-upstreampatchupstream
- #1000952 normal file: black.j2k should report mime-type image/jp2 on bugs.debian.org pending by Mathieu Malaterre reported updated
- #1000873 normal black.jph: JPEG 2000 codestream on bugs.debian.org pending by Mathieu Malaterre reported updated
- #996660 normal file: mistake statically linked PIE executables as dynamically linked on bugs.debian.org pending by Ryutaroh Matsumoto reported updated
- #995897 normal libmagic1: csv mime type incorrectly specified as application/csv on bugs.debian.org pending by MGC reported updated
- #985209 normal file: Python scripts reported as x-script.python instead of x-python on bugs.debian.org pending by Jérémy Rosen reported updated
- #975402 normal libmagic-mgc: messages for Git objects have an incorrect id on bugs.debian.org pending against libmagic-mgc by Vincent Lefevre reported updated fixed-upstreampatchupstream
- #950516 normal file: does not detect python3.8 byte-compiled files on bugs.debian.org pending by Felix Lechner reported updated
- #926842 normal Format: DIB (Microsoft Windows 3.X Packed Device-Independent Bitmap) on bugs.debian.org pending against src:file by Mathieu Malaterre reported updated
- #906727 normal file: Shared libraries wrongly detected as 'pie executable' on bugs.debian.org pending by WHR reported updated
- #902643 normal buggy magic: dump previous vs current swapped on bugs.debian.org pending by Elliott Mitchell reported updated moreinfo
- #900561 normal libmagic-mgc: buggy magic: mistakes any text file starting with "msc" for "Message Sequence Chart (chart)" on bugs.debian.org pending against libmagic-mgc by Thomas Arendsen Hein reported updated
- #879061 normal file: add support for FIT image (linux kernel file: *.itb) on bugs.debian.org pending by Mathieu Malaterre reported updated moreinfounreproducible
- #842096 normal Buggy magic: Many files are dis-detected as Algol68 on bugs.debian.org pending by Christoph Biedl reported updated upstream
- #825994 normal Can file look inside gzip file for XML tags? on bugs.debian.org pending by Petter Reinholdtsen reported updated
- #807118 normal file: Mistakes encoded WINDOWS-1253 text for ISO_8859-7 (Greek) on bugs.debian.org pending by Sophoklis Goumas reported updated confirmedupstream
- #797902 normal libmagic1: misdetect Coreboot images as text files on bugs.debian.org pending against libmagic1 by Holger Levsen reported updated
- #762829 normal file: Pascal modules (ISO 10206) wrongly classified as text/x-ruby on bugs.debian.org pending reported updated confirmedhelpupstream
- #757338 normal buggy magic: mistakes HTML as LaTeX on bugs.debian.org pending by LB reported updated
- #757331 normal buggy magic: mistakes HTML as unified diff on bugs.debian.org pending by LB reported updated confirmedupstream
- #755693 normal Incorrect mime type returned for CSV from file -i on bugs.debian.org pending by Ryan MacGillivray reported updated confirmedupstream
- #744924 normal buggy magic: mistakes text as diff when starting with "*** " on bugs.debian.org forwarded by Vincent Lefevre reported updated forwarded to bugs.astron.com confirmedfixed-upstreamupstream
- #744177 normal JBIG and JBIG2 files are not detected on bugs.debian.org pending against libmagic1 by Erik Thiele reported updated confirmedmoreinfoupstream
- #632544 normal buggy magic: mistakes outlook msg as CDF v2 on bugs.debian.org forwarded by Julien Palard reported updated forwarded to mx.gw.com upstream
- #608515 normal buggy magic: fortran inaccurate on bugs.debian.org pending by Jakub Wilk reported updated
- #596980 normal buggy magic: mistakes zip as elf on bugs.debian.org pending by Daniel Yuk-Pong, CHENG reported updated
- #593928 normal buggy magic: mistakes test as fortran program on bugs.debian.org pending by Vincent Lefevre reported updated moreinfoupstream
- #572103 normal buggy magic: mistakes some Windows PE executables as MS-DOS on bugs.debian.org pending by Lionel Elie Mamane reported updated upstream
- #544276 normal buggy magic: mistakes Lisp/Scheme program text on bugs.debian.org pending by Vincent Lefevre reported updated confirmedupstream
- #472791 normal buggy magic: text/plain@iso-8859-1 but non textual chars on bugs.debian.org pending by Martin Marques reported updated unreproducible
- #414827 normal buggy magic: Windows EXE files on bugs.debian.org pending by Martin Koeppe reported updated moreinfo
- #356456 normal buggy magic: charset Chinese not ISO-8859 on bugs.debian.org pending by Dan Jacobson reported updated
- #355210 normal buggy magic: mistakes CSV as text/plain on bugs.debian.org pending by Russ Allbery reported updated confirmedupstream
- #1104315 minor file: Issue in Debian patch for man page on bugs.debian.org pending by Helge Kreutzmann reported updated moreinfo
- #1095861 minor magic.5: Some remarks and a patch with editorial changes for this man page on bugs.debian.org pending by Bjarni Ingi Gislason reported updated patch
- #1082504 minor Say what the very long lines count refers to on bugs.debian.org pending by Dan Jacobson reported updated
- #1053667 minor file: Misclassifies d/changelog of the mscgen package as a "Message Sequence Chart" on bugs.debian.org pending by Niels Thykier reported updated
- #1053666 minor file: mscgen's examples are not classified as Message Sequence Charts on bugs.debian.org pending by Niels Thykier reported updated
- #1052255 minor libmagic1:amd64: magic.5: warnings and errors from "mandoc -T lint" on bugs.debian.org forwarded against libmagic1 by Bjarni Ingi Gislason reported updated forwarded to mailman.astron.com upstream
- #1038750 minor file.1: a few remarks and editorial fixes for the manual on bugs.debian.org forwarded by Bjarni Ingi Gislason reported updated forwarded to mailman.astron.com confirmedpatch
- #864023 minor file: buggy magic: FLIF image dimensions misdetected on bugs.debian.org forwarded by Ben Wiederhake reported updated forwarded to bugs.astron.com confirmedupstream
- #513607 minor buggy magic: lbl on bugs.debian.org pending by Renato S. Yamane reported updated
- #438682 minor buggy magic: mistakes ocaml source and interface files on bugs.debian.org pending by Alexander Kotelnikov reported updated confirmedmoreinfoupstream
- #1078609 wishlist file: detect eCryptfs encoding on bugs.debian.org pending by Patrice Duroux reported updated upstream
- #1004655 wishlist libmagic1: improvement needed to BTRFS magic on bugs.debian.org pending by Russell Coker reported updated patch
- #929181 wishlist New magic: "brotli" compression on bugs.debian.org forwarded by Philipp Marek reported updated forwarded to mailman.astron.com upstream
- #864922 wishlist magic.mgc: misdetects lots off C++ headers as C headers on bugs.debian.org pending against libmagic-mgc by Helmut Grohne reported updated patch
- #824703 wishlist file: magic entry to recognize Matlab V5 files on bugs.debian.org pending by Stephen Crowley reported updated moreinfo
- #752998 wishlist libmagic1: please add support for ZFS devices on bugs.debian.org pending by Russell Coker reported updated patch
- #748543 wishlist Add magic from binwalk on bugs.debian.org pending by bastien ROUCARIES reported updated help
- #703411 wishlist file: testsuite for readelf on bugs.debian.org pending by Bastian Blank reported updated bookwormbullseyebusterforkyjessiesidstretchtrixieupstream
- #575901 wishlist new magic: encoding on latex files on bugs.debian.org pending by Vincent Lefevre reported updated
- #571560 wishlist new magic: diff files on bugs.debian.org pending by Vincent Lefevre reported updated
Show more · showing 75