Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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