Server Fault is a question and answer site for system and network administrators. 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

I have a file with an @ after the permissions

-rwxr-xr-x@  1 riccardotacconi  staff   215 14 Sep 14:21 Capfile

Do you know its meaning.

I am deploying a Rails application using Capistrano. That Gemfile is not copies, although it is committed in the SVN repository. Very strange.

share|improve this question

migrated from Sep 27 '10 at 14:41

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

This might give a hint. It's for Mac, but it's based on FreeBSD which is similar to Unix/Linux:… – Nelson Rothermel Sep 27 '10 at 14:21
up vote 1 down vote accepted

Assuming you're using OS X (newer than 10.4), the @ symbol denotes the file has extended attributes associated with it. (See Stewie's answer for detail.)

To list the extended attribute, use

ls -l@

From the man page for ls:

-@  Display extended attribute keys and sizes in long (-l) output.

You should see something like the following -

(somesystem):~ user$ ls -al@ /
drwxr-xr-x@   6 root   wheel       204 Sep 27 12:00 private       32

If you need to dig deeper than that, use xattr -l

share|improve this answer

The "@" sign -- which is not documented in the manual page for ls(1) indicates that the file has extended attributes. You can use the command 'xattr -l ' to show them

Quote from :

Extended file attributes is a file system feature that enables users to associate computer files with metadata not interpreted by the filesystem, whereas regular attributes have a purpose strictly defined by the filesystem (such as permissions or records of creation and modification times).

share|improve this answer

-rwxr-xr-x for a regular file whose user class has full permissions and whose group and others classes have only the read and execute permissions.

on osx

ls command now displays a "@" character after the permissions string for each file that has extended attributes

share|improve this answer

You have extended attributes on that file. Run

ls -le

to get more detail.

share|improve this answer
It isn't the ACL permissions (those have a +). The @ symbol indicates extended attributes, aka metadata. – Jeff Sep 27 '10 at 14:24
using ls -le I get ls: invalid option -- e – rtacconi Sep 27 '10 at 14:35

Is this on OSX? See the discussion here.

Relevant part:

The "@" sign -- which is not documented in the manual page for ls(1) -- indicates that the file has extended attributes. You can use the command 'xattr -l ' to show them. It seems that a lot of Finder information, which ought to be stored in the catalog, is now in extended attributes.

share|improve this answer
if I run xattr I get a command not found – rtacconi Sep 27 '10 at 14:36
xattr should be located at /usr/bin/xattr – Marcel G Sep 27 '10 at 16:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.