summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-02 22:26:45 +0200
committerJim Meyering <meyering@redhat.com>2008-10-23 14:18:25 +0200
commitb3677e5e383103bf1764b2c8a9329b1c17934b24 (patch)
treed7bfd554197ec58f5d8ae00abcd5eef07bbc443c /doc
parentcc0f637b6d2d62a2f811323e677112cfb34cd07e (diff)
downloadcoreutils-b3677e5e383103bf1764b2c8a9329b1c17934b24.tar.xz
ls: use '.' (not +) as SELinux-only alt. access flag in ls -l output
* src/ls.c (gobble_file) [long_format]: Map SELinux-only to '.', any other nonempty combination of MAC and ACL to '+', and all else to the usual ' '. Suggested by Michael Stone. * tests/misc/selinux: Adapt: expect '.', not '+'. * doc/coreutils.texi (What information is listed): Document this. * NEWS (Changes in behavior): Mention it.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 64598705d..cbef0139b 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -6474,9 +6474,11 @@ applies to the file. When the character following the file mode bits is a
space, there is no alternate access method. When it is a printing
character, then there is such a method.
-For a file with an extended access control list, a @samp{+} character is
-listed. Basic access control lists are equivalent to the permissions
-listed, and are not considered an alternate access method.
+GNU @command{ls} uses a @samp{.} character to indicate a file
+with an SELinux security context, but no other alternate access method.
+
+A file with any other combination of alternate access methods
+is marked with a @samp{+} character.
@item -n
@itemx --numeric-uid-gid