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

Post Reply New Thread Subscribe

Thread Tools

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, 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

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

evands is offline
This will do it:
xattr -w "0000;4b3a40d0;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 Starter
Last Post
Unable to set proxy server to Workstations through Workgroup Manager Leyton OS X - Operating System 6 10-20-2011 05: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 04:22 AM
Applescript - Firefox Floris OS X - Development and Darwin 6 05-08-2009 10: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 07:43 PM
How to set text color in a NSPopupButtonCell in an NSTableView tmeehan OS X - Development and Darwin 0 03-19-2009 12:23 PM

All times are GMT -4. The time now is 02:19 PM.

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

Welcome to

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?