Archive for the ‘Gatekeeper’ Category
As I mentioned previously, some scripts from this site when downloaded to OS X 10.8 may not pass Gatekeeper Security when set to the “Mac App Store or Developer ID” setting (the default Gatekeeper setting). To over-ride Gatekeeper settings, Control-click/Right-click the script in the Finder and choose Open from the contextual menu, then allow the script to be opened.
However, for a small number of scripts, even this may not work. You may see an OSStatus error message and the script will still be unable to run.
It appears to occur with a few .app scripts, but not all.
I’ll try to catch these scripts (and if you run into one, let me know) and update them. In the meantime, the fix is to temporarily lower your Gatekeeper Security settings to allow apps from anywhere to launch. Once the script is launched, you can restore your Gatekeeper settings.
PITA, I know.
As you may know, OS X 10.8 introduces a new security feature called Gatekeeper which can conditionally disallow software downloaded from the internet from being launched on your machine. You can access the Gatekeeper settings in the Security pane of System Preferences.
Gatekeeper offers three “trusted source” security settings for launching downloaded apps:
- Only launch apps from the Mac App Store
- Only launch apps from the Mac App Store or digitally signed with an authorized Apple Developer ID
- Launch anything downloaded from anywhere
The default Gatekeeper setting is Number 2. My guess is that the sort of people who visit this site will have lowered that to Number 3, “Allow from Anywhere”.
Gatekeeper doesn’t take notice of most of the types of AppleScripts available from this site so downloading and launching scripts from here shouldn’t trigger Gatekeeper no matter what the security setting. Cocoa-AppleScripts, which constitute the majority of recent applets and droplets, have been/will be codesigned with an Apple Developer ID.
However, it is still remotely possible that a handful of older scripts from this site may be quarantined by Gatekeeper and won’t be permitted to launch after you download them to OS X 10.8. (This does not affect scripts that you have already downloaded and have launched at least once.)
What to do: Control-Click/Right-Click on the script in the Finder and choose “Open” which will present an option to override any Gatekeeper settings. Alternatively, you could lower your Gatekeeper security setting temporarily while you launch the script and then restore the setting afterwards.
Once you’ve successfully launched the script the first time, by whatever means, it will be ignored by Gatekeeper thereafter.
Update: additional new information posted here.