Stop wrapping dmg files in zip archives!

I routinely download software that ships as a Mac disc image, but when uploaded to a web server is placed in a zip archive. The dmg file is already compressed, so the zip file doesn’t reduce the size that much and just adds one step to decompressing (when I decompress, I’m left with the zip file and dmg file; I then have to trash the zip file). My suspicion on why this is done is that the web server isn’t setup to send dmg files as binary and people get a mess in their browsers. So solution (for apache servers), is simple. In /etc/mime-types, add dmg to the octet-stream line like:

application/octet-stream        bin dms lha lzh exe class so dll img iso dmg

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation