Plus (+) and At (@) symbols listing file permissions in Mac OS X

The other day I was surprised to see some “plus” (+) and “at” symbols (@) when looking a file list with ls -l:

$ ls -l
drwxr-xr-x+   3 enekochan  staff   102  1 may 18:55 Sites
-rwxrwx---@   1 enekochan  staff   129  7 jun  2011 test1.sh
-rwxrwx---@   1 enekochan  staff   233 28 dic  2012 test2.sh
-rwxrwx---    1 enekochan  staff   180 29 may 16:39 test3.sh

The “plus” symbol means that the file has a richer permission model using ACLs and the “at” symbol means that the file has some extended attributes that are available in Mac OS X. You can use the “-le” option to see an extended list of them:

$ ls -le
drwxr-xr-x+   3 enekochan  staff   102  1 may 18:55 Sites
 0: group:everyone deny delete
 1: user:_spotlight inherited allow list,search,readattr,readextattr,readsecurity,file_inherit,directory_inherit
-rwxrwx---@   1 enekochan  staff    129  7 jun  2011 test1.sh
 0: user:_spotlight inherited allow read,execute,readattr,readextattr,readsecurity
-rwxrwx---@   1 enekochan  staff    233 28 dic  2012 test2.sh
 0: user:_spotlight inherited allow read,execute,readattr,readextattr,readsecurity
-rwxrwx---    1 enekochan  staff    180 29 may 16:39 test3.sh

Ref: https://discussions.apple.com/message/5697885#5697885

You might also like

Fix date strings with percentage symbols in qtranslate
If you see dates with percentage symbols when using qtranslate in WordPress:You can fix it by...

Install script for XBMC in Raspbian
# Install XBMC sudo sh -c "echo 'deb http://archive.mene.za.net/raspbian wheezy contrib' > /etc/apt/sources.list.d/mene.list" sudo...

Find the library or program that installs a specific file with apt-file
Sometime you could end up in a situation where you need to know which program or library installs a file....

VNC service start and stop with a script in Mac OS X
Create a file called, for example, startVNC and fill it with:sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.