Sonoma fails to open .dmg

macOS 14.0 Sonoma fails to open some .dmg with an error "The disk image couldn't be opened. The operation couldn't be completed. Permission denied".


The same .dmg opens OK in macOS 13.6 Ventura.


Most .dmg open OK in Sonoma but I noticed that many .dmg with a license agreement pop-up have the same problem. Such as:


GraphicConverter, TinkerTool, DMG Canvas:


https://www.lemkesoft.de/en/products/graphicconverter/download

http://www.bresink.com/osx/0TinkerTool/download.php

https://www.araelium.com/dmgcanvas


Also Spotify installer seems to fail with a similar error "An error occurred while trying to mount the downloaded Spotify disk image".


This error is not widely reported so I suspect it might be caused by my setup or maybe my oldish Mac mini 2018.


-> Question: Do others with a similar setup experience this?


This is a clean macOS 14.0 Sonoma install to an external disk. No 3rd party virus apps, "cleaning", "optimizing", "speed-up" apps, or VPN.


I have unsuccessfully tried to fix this by:


Safe-boot

Disable macOS internal Firewall

Right-click > Open .dmg

In another new user account

Safari download location from ~Desktop to ~Downloads

Safari "Open safe files after downloading" from OFF to ON

Download with Firefox instead Safari

Dirty macOS 13.6 -> 14.0 upgrade on an external disk


It seems the quarantine flag is no properly cleared. A workaround that fixes this is:


xattr -d com.apple.quarantine file.dmg


But I'd rather let macOS more gracefully automatically handle this.


Mac mini

Posted on Sep 28, 2023 6:15 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 9, 2024 9:41 AM

This was fixed in macOS Sonoma 14.1, and it still works for me in macOS 14.2.1. Do you have an URL for some offending .dmg?


The old workaround was to give "DiskImageMounter" Full Disk Access in the Privacy & Security System Settings.


/System/Library/CoreServices/DiskImageMounter


Or clear the quarantine flag with:


xattr -d com.apple.quarantine file.dmg


But I have not needed those workarounds.

16 replies
Question marked as Top-ranking reply

Jan 9, 2024 9:41 AM in response to BillyC69_Scotland

This was fixed in macOS Sonoma 14.1, and it still works for me in macOS 14.2.1. Do you have an URL for some offending .dmg?


The old workaround was to give "DiskImageMounter" Full Disk Access in the Privacy & Security System Settings.


/System/Library/CoreServices/DiskImageMounter


Or clear the quarantine flag with:


xattr -d com.apple.quarantine file.dmg


But I have not needed those workarounds.

Oct 12, 2023 10:43 AM in response to Matti Haveri

I just encountered this issue with a clean install of macOS 14.0 Sonoma while trying to mount the .dmg for Vivaldi (I saw the EULA & accepted it, but refused to mount the image). You need to give "DiskImageMounter" Full Disk Access in the Security & Privacy System Settings. You will find "DiskImageMounter" at:

/System/Library/CoreServices/DiskImageMounter


Oct 25, 2023 9:34 PM in response to Matti Haveri

Developer of DMG Canvas here 👋🏼 — It's not an issue with developers not having "updated" Sonoma disk images available; There is no such thing. Any disk image is effectively future compatible on all versions of macOS long into the future. (You can still open disk images made way back in early OS X 10.4 days, for example.)


Something in macOS itself changed, and it's only happening for *some* installations. All disk images I test work on my fresh installs of Sonoma, yet for other people some disk images fail with the permissions error. There's definitely the possibility of it being a bug in macOS at some level (missing permissions, or in the mounting process itself), but it's not clear where or what leads to it.


If anyone finds any pattern to the permission denial, I'm certainly interested in tracking it down.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sonoma fails to open .dmg

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.