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 "+" -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.