Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I try to open an unsigned application by double clicking it in OS X 10.8's Finder, it rejects it. When I right-click the application and select Open, it shows a confirmation dialog. When confirming this with "Open", I can open the application the next time.

How I can reset this behavior, so OS X 10.8 will again reject to double-click this application?

I need this to test our application in a default environment without having to reinstall a backup.

share|improve this question

migrated from stackoverflow.com Aug 8 '12 at 15:48

This question came from our site for professional and enthusiast programmers.

    
Questions on Stack Overflow are expected to relate to programming or software development. –  Florent Aug 8 '12 at 14:39

1 Answer 1

You can add it using xattr from a command prompt, for example to indicate it was downloaded by Safari and have it quarantined as such, just do;

xattr -w com.apple.quarantine "0000;4b3a40d0;Safari;|com.apple.Safari" <path to file>;
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.