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.
1
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 – 2015-06-25T23:11:09.627See also: https://apple.stackexchange.com/questions/42177/what-does-signify-in-unix-file-permissions
– hippietrail – 2017-10-23T03:12:35.870see also here http://forthescience.org/blog/2007/12/11/macosx-leopard-extended-ls/
– Stefano Borini – 2009-08-26T20:13:45.147