When I check permission of less files from the command line on my Snow Leopard OSX system using Bash I see -rw-r--r--@
for certain files and for others I just see -rw-r--r--
What does the @ mean here?
Asked
Active
Viewed 9.2k times
171

Chris Down
- 125,559
- 25
- 270
- 266

rhand
- 1,875
1 Answers
166
On OSX, the @
symbol indicates that the file has extended attributes. You can see them using xattr -l
, or ls -l@
. From man 1 ls
on OSX 10.9:
The following options are available:
-@ Display extended attribute keys and sizes in long (-l) output.
...
If the file or directory has extended attributes,
the permissions field printed by the `-l` option is followed by a `@` character.

enharmonic
- 702

Chris Down
- 125,559
- 25
- 270
- 266
xattr -c filename.ext
orxattr -cr somefolder
to do it recursively. – Ricardo Martins Jul 09 '21 at 07:43