how to remove quarantine from file permissions in os x
7,898
xattr -d requires you to specify which attribute you want to remove. You can find this out by listing the file attributes by passing ls the -@ flag as in:
ls -l@ filename
Once you know what the attribute is, you can target it for removal with -d or you can use the following to clear all attributes:
xattr -c filename
Related videos on Youtube
![Gilles 'SO- stop being evil'](https://i.stack.imgur.com/cFyP6.jpg?s=256&g=1)
Author by
Gilles 'SO- stop being evil'
Updated on September 18, 2022Comments
-
Gilles 'SO- stop being evil' almost 2 years
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 commandxattr -d <filename>.pem
but that didn't work