What is the plus sign at the end of the permissions telling me?
ls -l
total 4
drwxrwxrwx+ 2 benson avahi-autoipd 4096 Jan 27 17:37 docs
Here's the context:
cat /etc/issue
\CentOS release 5.3 (Final)
Kernel \r on an \m
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityIt means your file has extended permissions called ACLs.
You have to run getfacl <file>
to see the full permissions.
See Access Control Lists for more details.
ls -le
to show syno-acl permission details
Feb 2 at 23:13
via man page 'ls'
"If the file or directory has extended security information, the permissions field printed by the -l option is followed by a '+' character."
This generally means the file is encumbered with access restrictions outside of the traditional Unix permissions - likely Access Control List (ACL).
man ls
page (GNU coreutils 8.26) it doesn't mention that usage of +
, but info coreutils ls
does
ls
man page from coreutils 8.30
in RHEL 8.3 does not contain the string "extended".
From the acl
package in Ubuntu :
$ man acl | grep -1 '+'
• 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.
$