You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"This is the first time you've open this application" message

Does anyone know how to either disable or by-pass this message?

I've got a script that runs via iHook that sets up our student accounts. But when the ""This is the first time ..." message appears the students keep clicking "Cancel" instead of "OK".

I've been told that running this command via ARD should stop the messages
"xattr -d com.apple.quarantine application_name.app"

but it always returns this error:
""No such xattr: com.apple.quarantine"

Any ideas??

iMac, Mac OS X (10.5.4)

Posted on Sep 17, 2008 1:31 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 17, 2008 4:59 PM

i use a script (named xattr_remove in my path) to remove the quarantine acl:


#!/bin/bash
# used to remove com.apple.quarantine attribute from a given file/pkg
#
# use this like: xattr_remove /path/to/file
cd $1
find . -print0 | xargs -0 xattr -d com.apple.quarantine
2 replies

Sep 17, 2008 2:09 PM in response to notverypc

I suspect it's returning "No such xattr: com.apple.quarantine" either because the quarantine has already been removed or you're pointing it at the wrong type of file (not a .app) or perhaps the path is wrong (although then it would be likely to tell you the file doesn't exist). Download a fresh .pkg or something from the internet and try it on that to see if it works in principle.

Also, can you not just launch the offending app by logging in locally as admin? Once it's been okay'd by an admin I think it should be set.

"This is the first time you've open this application" message

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.