New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

How to SET the com.apple.quarantine


Post Reply New Thread Subscribe

 
Thread Tools
bkhl

 
Member Since: Nov 07, 2008
Posts: 26
bkhl is on a distinguished road

bkhl is offline
I know how to remove the quarantine attribute with xattr -d, but how would I set it on a file? I use iTerm2, and would like to set it on Terminal.app, to prevent launching it by mistake from spotlight, and other programs launching it.

I've tried googling for an answer, but get flooded with tips on how to remove the attribute, so I'm hoping someone here knows.
QUOTE Thanks
evands

 
Member Since: Feb 25, 2008
Posts: 2
evands is on a distinguished road

evands is offline
This will do it:
xattr -w com.apple.quarantine "0000;4b3a40d0;Safari;|com.apple.Safari" PATH_TO_FILE
QUOTE Thanks

Post Reply New Thread Subscribe


« Mac Beeps During Regular Operation | Connecting a serial gps »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Unable to set proxy server to Workstations through Workgroup Manager Leyton OS X - Operating System 6 10-20-2011 06:44 AM
Possible to create multiple users but keep same set up?multiple logins under one user jlcamp7 OS X - Operating System 4 08-14-2009 05:22 AM
Applescript - Firefox Floris OS X - Development and Darwin 6 05-08-2009 11:50 AM
Can't Set Up Wireless Network in Windows (installed via Boot Camp) jlsmith83 Running Windows (or anything else) on your Mac 6 04-07-2009 08:43 PM
How to set text color in a NSPopupButtonCell in an NSTableView tmeehan OS X - Development and Darwin 0 03-19-2009 01:23 PM

All times are GMT -4. The time now is 06:02 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?