In OS X 10.8 Mountain Lion, the new Gatekeeper feature has a mechanism that prevents certain things from opening. This is only apparent if you run Console and observe the error message that appears when you attempt to run an application that it shuts down:
5/11/12 9:44:57.000 AM kernel[0]: qtn-exec: not allowed to exec quarantined /Applications/Arq.app/Contents/MacOS/Arq: 00000047
An FAQ entry about this issue appears on an application CodeKit site:
Did you unzip it using a third-party unarchiver such as an app downloaded from the Mac App Store? OS X automatically quarantines all items that are unzipped without using OS X’s built-in archive utility.
[...]
You can resolve this two ways. First, delete the app, re-download it, and then unzip it using OS X’s built-in archiver app. Alternately, you can follow the instructions found in this GitHub thread. If you’d like more information about the archive/quarantine issue, see this Apple Discussions Thread. (Long story short: it’s one more bug in Apple’s poorly-implemented and oft-delayed sandboxing initiative.)
The current state of things is that there is no UI for removing this quarantine tag when the item was unarchived using a third-party tool like recent versions of the popular tool, The Unarchiver. It’s a bug with the current OS X implementation. One must resort to using command line tools to remove the extended attribute. You, like me, might be very comfortable with this idea, so here’s a one-liner to recursively remove the flag on an item:
xattr -dr com.apple.quarantine /path/to/folder/or/application.app/
Ideally, this post should be obsoleted within a month, but it has caused me more grief in one week than I could handle with only two bottles of Code Red Mountain Dew.
One Response to OS X: Application won’t open; not allowed to exec quarantined
Leave a Reply Cancel reply
About.me
Tim Valenta
Amateur at everything, coder, UI designer, musician, and writer. I break things apart and re-program them from scratch to learn exactly which problems people have solved in the past. I write for NaNoWriMo, and I'm nearing the self publication of a short story called Highway.
Python is my passion. Alastair Reynolds writes great science fiction, but has a really ugly website. My Mac is my Linux without all the driver failures. I hate working directly for salesmen. Huge scented candles are surprisingly nice when you work from home all day. I play AP Mid lane for my League of Legends team, but love a good run at Top.
Topics
- Design (2)
- Games (3)
- Hacks (22)
- Hard Drives (2)
- Hobbies (41)
- Writing (28)
- Huh? (2)
- Linux (7)
- Ubuntu (3)
- Mac (23)
- Music (1)
- Operating Systems (10)
- Opt-Out Diaries (1)
- Photo Editing (1)
- Programming (30)
- Java (7)
- Javascript (2)
- Objective-C (1)
- Python (15)
- Textmate (5)
- RAM (1)
- Rants (11)
- Troubleshooting (14)
- Uncategorized (3)
- windows (8)
- Work (1)
- 4500S bash Chrome dell development dimension Django Firefox flash function Google hard drive Highway 2 Hyper-V icon IDE IE Internet Explorer iTunes java JavaScript Linux mac Macports method Microsoft mountain lion Music MySQL MySQLdb nanowrimo Opera OS X panda3d patch php pip productivity Programming Python python 2.5 theme vista windows Windows 7











Thanks for this. Because of Apple’s atrocious record when it comes to fixing bugs, I saved it in `/usr/local/bin/`.