bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: changing the "+" in ls -l output to be "." or "+"


From: Mike Edenfield
Subject: Re: RFC: changing the "+" in ls -l output to be "." or "+"
Date: Fri, 24 Oct 2008 09:19:07 -0400
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Jim Meyering wrote:

A desire for compatibility makes "+" look good.
"." is appealing for SELinux-only because it's inconspicuous.

Speaking as a fairly new SELinux user/admin, having a "." next to every file in my ls output is just as useful or non-useful as having a "+" next to them, so does it really buy anything? I end up needing -Z either way.

Based on the kind of real-world problems I've had, the most useful thing ls could tell me about a file on my SELinux system would be that it *should* have a label and *doesn't*, something like:

if ( selinux_enabled )
  if ( label == NULL || label == fs.defaultlabel )
    use "!"
  else
    use " "
else if ( anything else )
  use "+"








reply via email to

[Prev in Thread] Current Thread [Next in Thread]