Tag Archives: file permissions

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