I've downloaded some .jar files from the internet and want to use them under Mac OS X. But the OS seems to have tagged them with the extended attribute com.apple.quarantine (no indication of this until I noticed the "@" in the ls -l and figured out how to use ls -l@) -- apparently because they have been downloaded from the internet. What's the right way to deal with this?
|
This attribute is added so that it can ask for user confirmation the first time the downloaded program is run, to help stop malware. Upon confirmation the attribute should be removed and then the program will run normally. |
|||
|
|
You don't have to deal with it. Open it and OS X will ask for your permission. Or like richard suggested, delete it using something like:
To do this automatically for any downloaded file you can attach a folder action to the download folder, like described on macosxhints.com in 10.5: Remove the 'downloaded file' warning flag. And the following was posted on macosxhints.com a long time ago, for Safari: 10.5: Disable the 'downloaded from internet' file warning, claiming one can remove As an aside: sometimes one needs to start a single program multiple times on a Mac. That can be done using
Above, even removing the extended attribute (I am not advising anyone to actually get rid of the security measures.) |
||||
|
|
|
|||||||||
|
|
|
You can disable the warnings permanently with |
||||
|
|
|
I found the following command
very helpful when trying to get rid of the attribute. Note the double quotes around |
|||||
|
