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.

I use WriteRoom to create and edit text files on the Mac (10.8.2). I keep these files in my DropBox (v1.6.14) folder so that they're synced to the cloud and can be edited on my iOS devices and other computers.

I had Gatekeeper set to allow applications downloaded from the App Store and identified developers:

enter image description here

And when I tried to open text files in my DropBox folder with WriteRoom, I got this Gatekeeper alert (which doesn't seem appropriate for the type of file it is):enter image description here

I found this annoying, so I set Gatekeeper to allow apps from 'anywhere'. But then I get this message on trying to open these files:enter image description here

I don't really mind how Gatekeeper is set but I would really like to disable these annoying warning messages. Does anyone know why they keep appearing and how they can be stopped?

Thanks for reading.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

man spctl

That is good to know, although you can just do:

xattr -d YourFile.txt

This removes the quarantine attribute on files.

With spctl you can add WriteRoom to list of apps that can run. From

man spctl

EXAMPLES
 To check whether Mail.app is allowed to run on the local system:
       spctl -a /Applications/Mail.app

 To allow Frobozz.app to run on the local system:
       spctl --add --label "My Stuff" /Applications/Mail.app

 To forbid all code obtained from the Mac App Store from running:
       spctl --disable --label "Mac App Store" 
share|improve this answer
    
Thanks for this. I've discovered that, with Gatekeeper set to allow apps 'from anywhere', previously opened files are remembered and allowed to open without displaying a warning message. –  DrGuyBH Jan 23 '13 at 15:37
    
You probably don't want to do that. Perhaps add a folder action to Dropbox? Strip off the quarantine attribute on anything going in there, while still requiring strange apps to verify with you that they are going to run. –  chiggsy Jan 23 '13 at 15:58
add comment

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.