6

When I try to open a DMG file I get this:

alt text

I'll just transcript the image:

There may be a problem with this disk image. Are you sure you want to open it?

Opening this disk image may make your computer less secure or cause other problems.

What does that mean in fact? What's really wrong with it, and what kind of problem can it cause just by mounting?

Someone said:

When you download a file in Leopard (and Snow Leopard), it's marked as a quarantined file. This occurs by the OS adding an attribute to the file, tagging where it came from (such as "downloaded by Safari"). This is what causes the user to see prompts when running files that were downloaded from the Internet, you may remember being asked to confirm you'd like to launch program XXX downloaded by Safari on XXX date. As a new part of Snow Leopard, files which are tagged with the quarantine attribute also have integrity checked by fsck, and if that verify fails you will see the message you described, triggered by an unused node in the disc image.

But really, I didn't get that. What's quarantine? I've just downloaded a file here on SL, tried to open, and got that warning.

Apple have a say about quarantine files, and they seem to work the same on Leopards. Plus I have got that file using Google Chrome while that feature seems to work just with Safari.

Gareth
  • 19,080
cregox
  • 5,944

2 Answers2

4

I am not sure about Snow Leopard, but in earlier versions of Mac OS X, this occurred if the filesystem on the volume failed an automatic fsck (filesystem check), and mounting the image might cause the Finder / Disk Image subsystem / other parts of the OS to crash, and/or cause more damage to the disk image causing further permanent data loss.

Josh
  • 9,947
3

Josh is correct here. That is a generic error message when the mounting of the DMG may cause stability issues. It's not the result of an Antivirus or Malware check.

The quarantine flag that Safari places on the download is just a flag that is used to display the "This file was downloaded from the internet on date and.....". It's a reminder that the file was downloaded to the user, and to not necessarily trust the source... (Poor Man's Antivirus)...

The key here is that the original DMG was damaged, maybe not in any way that harmed the application stored on it, but the DMG was indeed bad...