Comments on: mime_magic errors with php4 http://v3.vanutsteen.nl/2008/06/28/mime_magic-errors-with-php4/ A blog on rails, php, computing, my bass guitar and stuff Wed, 17 Oct 2012 04:54:02 +0000 hourly 1 http://wordpress.org/?v=3.5 By: Alex Owen http://v3.vanutsteen.nl/2008/06/28/mime_magic-errors-with-php4/comment-page-1/#comment-5868 Alex Owen Fri, 18 Jun 2010 13:21:44 +0000 http://www.vanutsteen.nl/?p=94#comment-5868 chmod is not the solution
dpkg-divert is your friend…. read the man page.

The problem is that php does not recognise the new syntax of /usr/share/file/magic.mime . Really we should reconfigure PHP to look at its own private copy of mime.magic and fix that private copy.

]]>
By: | 0×23 http://v3.vanutsteen.nl/2008/06/28/mime_magic-errors-with-php4/comment-page-1/#comment-5862 | 0×23 Tue, 26 Jan 2010 11:27:01 +0000 http://www.vanutsteen.nl/?p=94#comment-5862 [...] diesen Blog Eintrag wusste ich wo zu suchen ist und hab kurzerhand das ganze mit in die Aktualisierung [...]

]]>
By: Zeratul http://v3.vanutsteen.nl/2008/06/28/mime_magic-errors-with-php4/comment-page-1/#comment-1469 Zeratul Sun, 12 Apr 2009 16:34:00 +0000 http://www.vanutsteen.nl/?p=94#comment-1469 Thanks for article and for comment guys ;)

]]>
By: Kisho http://v3.vanutsteen.nl/2008/06/28/mime_magic-errors-with-php4/comment-page-1/#comment-47 Kisho Wed, 16 Jul 2008 08:54:24 +0000 http://www.vanutsteen.nl/?p=94#comment-47 It is a know problem. Debian had been sloppy in work. You will get this error on every mimeupdate. Simply give the file the chmod 555 also “chmod 555 /usr/share/file/magic.mime”. The next Update, will not change this File.
The problem is that Debian does not ask what shall happen with the file and it simply overwrites. DPKG looks not for differents between the file of the package and the local. This is a error in the postinstall script. The Maintainer is Brian White. I has an e-mail fairly often already sent it but not got any answer. So we have fix it every time or change the write permissions …

So far
Kisho Shin

]]>