Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
ls -la symbolics… what does that last symbol mean?

When I run ls -l on my mac I see two .yml files:

-rw-r--r--  1 aa  staff    6 Apr 15 05:50 s1.yml
-rw-r--r--@ 1 aa  staff  362 Apr 15 05:49 s3.yml

same owner, same permissions but one has a @ at the end of the permisions. The one with the @ shows up in my editor, the one without does not. So there must be some significance. How can I turn on the @ for the file without it? I selected the files in the finder and did get info and everything looks identical between the two files.

share|improve this question

migrated from Apr 15 '10 at 13:02

This question came from our site for professional and enthusiast programmers.

marked as duplicate by quack quixote Apr 15 '10 at 13:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

A quick Google search reveals: – Greg K Apr 15 '10 at 13:07

Those indicate extended attributes. Try this:

$ ls -a -l -@
total 1576
drwxr-xr-x+ 76 paul  staff    2584 Apr 13 17:52 .
drwxr-xr-x   5 root  admin     170 Aug 22  2009 ..
-rw-r--r--@  1 paul  staff   24580 Feb 28 22:07 .DS_Store        32 
share|improve this answer

It indicates that the file has extended attributes, it is mac specific. The command xattr deals with those attributes, so try xattr -h to see its parameters.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .