8

I downloaded a .pem file and my Mac OS X (10.8.2) added an @ sign at the end of the file permissions. This is causing file permission issues.

I can't seem to remove the quarantine flag. I even tried the command

xattr -d <filename>.pem 

but that didn't work.

12

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.