Quick tip: fixing Safari's fumbles
Have you ever downloaded a file using Safari and ended up with an extension like .dmg.bz2, only to find that no amount of double clicking will actually get you to a mountable disk image? Here's the down and dirty:
Safari has a habit of guessing at what you're downloading and appending an extension for you, at least when the server doesn't explicitly declare it. In this case, it's looking at the compression method being used inside of the disk image, finding bzip2 and appending that extension. But the disk image isn't actually archived, so this throws everything off. When the OS sees the bz2 extension (or any extension after the .dmg), it assumes it's a compressed archive and unzips it. The resulting file is broken.
The answer? If you run into this problem, just click the file once to rename it and remove the trailing extension after
.dmg. The disk image should mount on a double click. An aging post at Unsanity also divulges the server-side solution for preventing the problem entirely.
Subscribe to Newsletter
Software Updatesmore updates
- ExpanDrive 4, more services and faster sync
- Apple adds iTunes Extras to Apple TV
- Spotify updates with new iPhone controls in time for summer BBQs
- iTunes U update will bring course creation and student discussion to iPad app
- Dropbox for iOS update adds new setup and file management options
- Amazon Instant Video app now offers free, ad-supported TV episodes, new HBO shows