The Computer Oracle

How to remove Quarantine from file permissions in OS X

--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Darkness Approaches Looping

--

Chapters
00:00 Question
00:35 Accepted answer (Score 41)
01:13 Thank you

--

Full question
https://superuser.com/questions/526920/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #filepermissions #osxmountainlion

#avk47



ACCEPTED ANSWER

Score 45


First, use ls -l@ to see what extended attributes are attached to the file. Normally, a downloaded file will have xattrs named "com.apple.quarantine" and maybe "com.apple.metadata:kMDItemWhereFroms". To remove them, you can delete them individually with e.g. xattr -d com.apple.quarantine filename.pem, or clear all xattrs with xattr -c filename.pem