From the ls(1) man page on Mac OS 10.6.1:
If the file or directory has extended attributes, the permissions field printed by the -l option is followed by a '@' character. Otherwise, if the file or directory has extended security information (such as an access control list), the permissions field printed by the -l option is followed by a '+' character.
From the available options list:
-@ Display extended attribute keys and sizes in long (-l) output.
-e Print the Access Control List (ACL) associated with the file, if present, in long (-l) output.
These will let you see the value of those extended options. FWIW, ACL info can be set using the same chmod(1) utility you are probably already aware of. :-)
There doesn't appear to be an easy way from the command line to do anything with extended attributes.
xattr -r -d com.apple.TextEncoding *
will probably remove it if its a text file, like a C++ header or source file, created locally. If you downloaded it, thenxattr -r -d com.apple.quarantine *
will likely remove it, so you can do things like edit a Makefile. For some reason, Apple does not allow you to edit a Makefile, but does allow you to run a Makefile, withcom.apple.quarantine
. Go figure... – jww Jun 25 '15 at 23:11