I think this might be related to the problem in #500734 of newer versions of magic -m flag not acting the same as in etch.
Can you explain this behavior? etch (4.17-5etch3): $ tar zcf foo.tar.gz /etc/issue tar: Removing leading `/' from member names $ file foo.tar.gz foo.tar.gz: gzip compressed data, from Unix, last modified: Thu Nov 6 03:05:44 2008 $ file -i foo.tar.gz foo.tar.gz: application/octet-stream $ echo "0 string \037\213 application/x-gzip" >magic.mime $ file -m magic.mime foo.tar.gz foo.tar.gz: application/x-gzip $ file -m magic foo.tar.gz file: could not find any magic files! $ file -m magic.mime -i foo.tar.gz file: could not find any magic files! $ file -m magic -i foo.tar.gz foo.tar.gz: application/x-gzip $ file -C -m magic.mime $ file -m magic.mime.mgc foo.tar.gz file: could not find any magic files! $ file -m magic.mime.mgc -i foo.tar.gz file: could not find any magic files! The man page for file(1) explains in the -m section that .mime will be appended. sid (4.26-1): $ tar zcf foo.tar.gz /etc/issue tar: Removing leading `/' from member names $ file foo.tar.gz foo.tar.gz: gzip compressed data, from Unix, last modified: Thu Nov 6 03:58:25 2008 $ file -i foo.tar.gz foo.tar.gz: application/x-gzip $ echo "0 string \037\213 application/x-gzip" >magic.mime $ file -m magic.mime foo.tar.gz foo.tar.gz: application/x-gzip $ file -m magic foo.tar.gz file: could not find any magic files! $ file -m magic.mime -i foo.tar.gz foo.tar.gz: application/octet-stream $ file -m magic -i foo.tar.gz file: could not find any magic files! $ file -C -m magic.mime $ file -m magic.mime.mgc foo.tar.gz foo.tar.gz: application/x-gzip $ file -m magic.mime.mgc -i foo.tar.gz foo.tar.gz: application/octet-stream The man page for file(1) no longer says that .mime will be appended. Both versions seems broken, but in different ways. I tried the patch sent to the bug but got this error when trying to build apprentice.c: In function âmkdbnameâ: apprentice.c:2179: error: âbufâ undeclared (first use in this function) Thanks, -- Matt Taggart [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]