From f5b36b6dd04b7a5f2eb9e18ab93f563960044ca3 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Tue, 1 Dec 2020 15:51:45 +0100 Subject: [PATCH] Mac OS X: on access denied open "all files & folders" prefs instead of "full disk access" --- downloadthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloadthread.cpp b/downloadthread.cpp index 979812b..24c4432 100644 --- a/downloadthread.cpp +++ b/downloadthread.cpp @@ -192,7 +192,7 @@ bool DownloadThread::_openAndPrepareDevice() } else if (authopenresult == _file.authOpenError) { QString msg = tr("Error running authopen to gain access to disk device '%1'").arg(QString(_filename)); msg += "
"+tr("Please verify if 'Raspberry Pi Imager' is allowed access to 'removable volumes' in privacy settings (under 'files and folders' or alternatively give it 'full disk access')."); - QProcess::execute("open x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles"); + QProcess::execute("open x-apple.systempreferences:com.apple.preference.security?Privacy_RemovableVolume"); emit error(msg); return false; }