6

I used homebrew cask to install many applications for quite a while now. But recently macOS keeps asking me to first confirm the "application downloaded from the internet" question that is usually only displayed for apps that are run for the first time.

enter image description here

What happened and how can I get rid of this?

Update

I use an admin account to install apps (brew cask install calibre), but I basically use a non-admin account all the time. I can get rid of the message by logging into the admin account and launching the app once and then the message disappears also for the user account.

1

As you mentioned in your update, you can open the application as an admin user. A more direct way is to run this command as an admin:

xattr -r -d com.apple.quarantine /Applications/Calibre.app
1

More of a workaround than a solution: Launching the App from an account with admin privileges once, makes the message disappear also for the non-admin account. Not sure if this is a bug or a feature... In the past it used to work like that also from non-admin accounts.

0

You need to allow it, in the system preferences.

Open the Terminal app from the /Applications/Utilities/ folder and then enter the following command syntax:

sudo spctl --master-disable

Hit return and authenticate with an admin password

Relaunch System Preferences and go to “Security & Privacy” and the “General” tab

You will now see the “Anywhere” option under ‘Allow apps downloaded from:’ Gatekeeper options

enter image description here

Do not forget to change it back for your safety.

sudo spctl --master-enable

Alternative method is to remove the Apple imposed Quarantine using Terminal command.

For example, if all of the files are in ~/Downloads/ then you would use:

xattr -r -d com.apple.quarantine ~/Downloads/
  • Really? Do I need the big guns?! The app will start, it is just this annoying message every time. I think you may be confusing it with the message where macOS blocks the app from launching entirely. Strange it worked before. Did Apple change their policy with the last update or something? – n1000 Sep 23 '18 at 17:04
  • Yes Apple changed the policy and actually removed the Anywhere. – Ruskes Sep 23 '18 at 17:06
  • It will mark the file as not secure download, and that is why you get the warning. – Ruskes Sep 23 '18 at 17:08
  • Unfortunately this does not work. I could change to "Anywhere" but the message persists. I did try: reboot, brew cask reinstall typora, change the settings in Security back and forth... No success :( – n1000 Sep 23 '18 at 17:14
  • 2
    I'm pretty sure that sudo spctl --master-disable is only needed for apps that will not launch because they are from an unknown developer (and even in that case, it's more preferable to just right-click the app and choose open rather than disabling via spctl). In any event, it's unrelated to this specific dialog box. – TJ Luoma Sep 23 '18 at 18:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .