Why mounting readonly dmg sometimes changes image file

1

Why some readonly dmg images are changing when mounted and what is changed in them? I mean readonly image, not readonly or locked dmg file.

tig

Posted 2010-05-28T17:58:50.990

Reputation: 3 906

Answers

3

Generally most .dmg files are compressed or otherwise read-only - Mac OS X should not allow any changes to these. Certain types of .dmg images however are mounted read-write (sparseimage comes to mind). If you have write permission to the image, Finder has a really bad habit of populating every folder with metadata (.DS_Store, etc. - very irritating to find 50mb of these files on a flash drive). Viewing, or perhaps simply mounting will trigger Finder to begin indexing and creating these files, leading to a modified image even if you have not added any files yourself.

Darth Android

Posted 2010-05-28T17:58:50.990

Reputation: 35 133

Sorry, my question was not very accurate. I was wondering why are readonly dmg files changing when mounted (not readonly file, but readonly image), I edited question. My bad :) – tig – 2010-05-29T04:01:11.863