What does the trailing "+" mean in file permission bits in Linux?

28
2014-06
  • wangshuaijie

    I used ls -a to list a file and got the following information:

    sqyang@intel4-88: ls -a 123 
    -rwxr-xr-x+ 1 root lsf 16845584 Nov 25 21:38 123*
    

    The file permission part is -rwxr-xr-x+. What does the + mean at the end?

  • Answers
  • alex

    The "+" indicates that there is an ACL (Access Control List) entry associated with the file. I don't know about Linux, but ACLs are used on Solaris too. See the manual pages for "getfacl" and "setfacl".

    Source

  • Łukasz Rysiak

    http://linux.about.com/library/cmd/blcmdl5_acl.htm

    For files that have a default ACL or an access ACL that contains more than the three required ACL entries, the ls(1) utility in the long form produced by ls -l displays a plus sign ( + after the permission string.


  • Related Question

    osx - ls -la symbolics... what does that last symbol mean?
  • user17047

    Possible Duplicate:
    what does the @ mean on the output of ls on os x terminal?

    when I type ls -la I get this familiar output...

    drwxr-xr-x+  38 kent  staff       1292 Nov  6 11:09 .
    drwxr-xr-x    5 root  admin        170 Aug 14 14:11 ..
    -rw-r--r--@   1 kent  staff         16 Jun 18 14:13 .AB64CF89
    -rw-------    1 kent  staff          3 May  5  2009 .CFUserTextEncoding
    -rw-r--r--@   1 kent  staff      15364 Nov  6 11:11 .DS_Store
    

    my question is about the file settings on the far left eg:

    drwxr-xr-x+
    

    I know that the first char 'd' means directory. and the next 9 chars I understand as well (permissions) but what is the final char in this field? (empty or + or @ )


  • Related Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.