Imported from the Apple Support Forums via the Wayback Machine 🔗
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
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
0
foilpan·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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