GNU logs - #14283, boring messages


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14283: RFE: ls should display presence of capabilities on a file
Resent-From: Linda Walsh <coreutils@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 27 Apr 2013 02:27:01 +0000
Resent-Message-ID: <handler.14283.B.136702957710743 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 14283
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 14283 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-coreutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.136702957710743
          (code B ref -1); Sat, 27 Apr 2013 02:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 27 Apr 2013 02:26:17 +0000
Received: from localhost ([127.0.0.1]:45754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UVuq9-0002nC-1I
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2013 22:26:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46360)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <coreutils@HIDDEN>) id 1UVuq6-0002n0-EF
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2013 22:26:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UVuq1-0003AY-P0
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2013 22:26:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD,
	USER_IN_WHITELIST autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:51335)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UVuq1-0003AU-Lf
	for submit <at> debbugs.gnu.org; Fri, 26 Apr 2013 22:26:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57722)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UVuq0-00054r-Qm
	for bug-coreutils@HIDDEN; Fri, 26 Apr 2013 22:26:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UVupz-0003AJ-WF
	for bug-coreutils@HIDDEN; Fri, 26 Apr 2013 22:26:08 -0400
Received: from ishtar.tlinx.org ([173.164.175.65]:51818 helo=Ishtar.hs)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UVupz-0003AA-FD
	for bug-coreutils@HIDDEN; Fri, 26 Apr 2013 22:26:07 -0400
Received: from [192.168.4.12] (Athenae [192.168.4.12])
	by Ishtar.hs (8.14.5/8.14.4/SuSE Linux 0.8) with ESMTP id
	r3R2Q2Cx058874
	for <bug-coreutils@HIDDEN>; Fri, 26 Apr 2013 19:26:04 -0700
Message-ID: <517B3739.1080801@HIDDEN>
Date: Fri, 26 Apr 2013 19:26:01 -0700
From: Linda Walsh <coreutils@HIDDEN>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US;
	rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24
	Mnenhy/0.7.6.666
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
	timestamps) [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

Just as 'l's displays the presence of access lists by putting a
'+' after the normal mode-bits, perhaps it could put a '^' after
mode-bits to indicate capabilities are set.

I'm aware that if I'm on a color terminal I can get an indication
of this, but color is often off (run through pipes, or not on
color term, or by default).

for SUID/GUID one gets an indicator of s/S in the modebits, so
thought '^' might be reasonable to indicate cap-elevation bits?






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Linda Walsh <coreutils@HIDDEN>
Subject: bug#14283: Acknowledgement (RFE: ls should display presence of
 capabilities on a file)
Message-ID: <handler.14283.B.136702957710743.ack <at> debbugs.gnu.org>
References: <517B3739.1080801@HIDDEN>
X-Gnu-PR-Message: ack 14283
X-Gnu-PR-Package: coreutils
Reply-To: 14283 <at> debbugs.gnu.org
Date: Sat, 27 Apr 2013 02:27:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 14283 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
14283: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14283
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14283: RFE: ls should display presence of capabilities on a file
Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 27 Apr 2013 09:36:01 +0000
Resent-Message-ID: <handler.14283.B14283.136705536019751 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14283
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Linda Walsh <coreutils@HIDDEN>
Cc: 14283 <at> debbugs.gnu.org
Received: via spool by 14283-submit <at> debbugs.gnu.org id=B14283.136705536019751
          (code B ref 14283); Sat, 27 Apr 2013 09:36:01 +0000
Received: (at 14283) by debbugs.gnu.org; 27 Apr 2013 09:36:00 +0000
Received: from localhost ([127.0.0.1]:46060 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UW1Xz-00058W-BU
	for submit <at> debbugs.gnu.org; Sat, 27 Apr 2013 05:35:59 -0400
Received: from mail2.vodafone.ie ([213.233.128.44]:7519)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <P@HIDDEN>) id 1UW1Xx-00058M-IC
	for 14283 <at> debbugs.gnu.org; Sat, 27 Apr 2013 05:35:58 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjkDAGabe1FtTb4F/2dsb2JhbAANRIM9gze7CAMBgReDEwEBAQQjDwFGEAsNAQoCAgUWCwICCQMCAQIBRQYNAQcBAQWIF6x6cpEegSOLDoICXweCO4ETA51SjgM
Received: from unknown (HELO [192.168.1.79]) ([109.77.190.5])
	by mail2.vodafone.ie with ESMTP; 27 Apr 2013 10:35:50 +0100
Message-ID: <517B9BF5.7010501@HIDDEN>
Date: Sat, 27 Apr 2013 10:35:49 +0100
From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130110 Thunderbird/17.0.2
MIME-Version: 1.0
References: <517B3739.1080801@HIDDEN>
In-Reply-To: <517B3739.1080801@HIDDEN>
X-Enigmail-Version: 1.5.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.8 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

severity 14283 wishlist

On 04/27/2013 03:26 AM, Linda Walsh wrote:
> Just as 'l's displays the presence of access lists by putting a
> '+' after the normal mode-bits, perhaps it could put a '^' after
> mode-bits to indicate capabilities are set.
> 
> I'm aware that if I'm on a color terminal I can get an indication
> of this, but color is often off (run through pipes, or not on
> color term, or by default).
> 
> for SUID/GUID one gets an indicator of s/S in the modebits, so
> thought '^' might be reasonable to indicate cap-elevation bits?

Yes, in general colors aren't a good mechanism to indicate permissions.
I prefer to highlight portions of the permissions string,
which is more direct and obvious. See http://www.pixelbeat.org/scripts/l

But we have to be a bit careful adding to the permissions string,
for compat reasons etc. I do like the idea of ^ (hat) => cap.
You could even be fancy and use combining hat (\u0302) so
as to not take up any more place, though combining char support
is not currently supported well enough to allow that I think.

We'll consider it,
thanks,
Pádraig.




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14283: RFE: ls should display presence of capabilities on a file
Resent-From: Linda Walsh <coreutils@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 27 Apr 2013 17:13:01 +0000
Resent-Message-ID: <handler.14283.B.136708277029539 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14283
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 14283 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-coreutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.136708277029539
          (code B ref -1); Sat, 27 Apr 2013 17:13:01 +0000
Received: (at submit) by debbugs.gnu.org; 27 Apr 2013 17:12:50 +0000
Received: from localhost ([127.0.0.1]:47201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UW8g6-0007gO-8S
	for submit <at> debbugs.gnu.org; Sat, 27 Apr 2013 13:12:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34011)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <coreutils@HIDDEN>) id 1UW8g4-0007gH-Kf
	for submit <at> debbugs.gnu.org; Sat, 27 Apr 2013 13:12:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UW8fv-0003I3-WD
	for submit <at> debbugs.gnu.org; Sat, 27 Apr 2013 13:12:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,
	USER_IN_WHITELIST autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:40464)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UW8fv-0003Hz-UG
	for submit <at> debbugs.gnu.org; Sat, 27 Apr 2013 13:12:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45356)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UW8fv-00034P-4M
	for bug-coreutils@HIDDEN; Sat, 27 Apr 2013 13:12:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UW8fu-0003Ha-8o
	for bug-coreutils@HIDDEN; Sat, 27 Apr 2013 13:12:39 -0400
Received: from ishtar.tlinx.org ([173.164.175.65]:57159 helo=Ishtar.hs)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <coreutils@HIDDEN>) id 1UW8ft-0003HF-JA
	for bug-coreutils@HIDDEN; Sat, 27 Apr 2013 13:12:38 -0400
Received: from [192.168.4.12] (Athenae [192.168.4.12])
	by Ishtar.hs (8.14.5/8.14.4/SuSE Linux 0.8) with ESMTP id
	r3RHCXxl082871
	for <bug-coreutils@HIDDEN>; Sat, 27 Apr 2013 10:12:35 -0700
Message-ID: <517C0700.30201@HIDDEN>
Date: Sat, 27 Apr 2013 10:12:32 -0700
From: Linda Walsh <coreutils@HIDDEN>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US;
	rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24
	Mnenhy/0.7.6.666
MIME-Version: 1.0
References: <517B3739.1080801@HIDDEN> <517B9BF5.7010501@HIDDEN>
In-Reply-To: <517B9BF5.7010501@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by Ishtar.hs id
	r3RHCXxl082871
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
	timestamps) [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)



P=C3=A1draig Brady wrote:

> But we have to be a bit careful adding to the permissions string,
> for compat reasons etc. I do like the idea of ^ (hat) =3D> cap.
> You could even be fancy and use combining hat (\u0302) so
> as to not take up any more place, though combining char support
> is not currently supported well enough to allow that I think.
----
	I would have preferred the combining option as well,
though rejected it for similar reasons. Been using unicode for
10+ years on my file systems (often with many compat issues),
but have only recently started to see more widespread usage
of them on the net...but felt wasn't fully enough supported
to use as an indicator in ls...  In our lifetimes?  ;-)

> We'll consider it,
> thanks,
----
Thank you!





Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#14283: RFE: ls should display presence of capabilities on a file
Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Fri, 01 Aug 2014 10:56:02 +0000
Resent-Message-ID: <handler.14283.B14283.14068905139846 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 14283
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Linda Walsh <coreutils@HIDDEN>
Cc: 14283 <at> debbugs.gnu.org
Received: via spool by 14283-submit <at> debbugs.gnu.org id=B14283.14068905139846
          (code B ref 14283); Fri, 01 Aug 2014 10:56:02 +0000
Received: (at 14283) by debbugs.gnu.org; 1 Aug 2014 10:55:13 +0000
Received: from localhost ([127.0.0.1]:53702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XDAUS-0002Yk-0g
	for submit <at> debbugs.gnu.org; Fri, 01 Aug 2014 06:55:12 -0400
Received: from mail2.vodafone.ie ([213.233.128.44]:45093)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <P@HIDDEN>) id 1XDAUO-0002YR-1v
 for 14283 <at> debbugs.gnu.org; Fri, 01 Aug 2014 06:55:09 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApUBACVx21NtTijp/2dsb2JhbAANToNfg0/JEIdPAYEchHsBAQQjDwFGEAsNAQoCAgUhAgIPAkYGDQEHAQEFiD4IsHJ3l3MXgSyLYoI+B4J5gVIFnUmFdoZsiWw
Received: from unknown (HELO [192.168.1.79]) ([109.78.40.233])
 by mail2.vodafone.ie with ESMTP; 01 Aug 2014 11:55:00 +0100
Message-ID: <53DB7FE6.10806@HIDDEN>
Date: Fri, 01 Aug 2014 12:54:14 +0100
From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:17.0) Gecko/20130110 Thunderbird/17.0.2
MIME-Version: 1.0
References: <517B3739.1080801@HIDDEN> <517B9BF5.7010501@HIDDEN>
In-Reply-To: <517B9BF5.7010501@HIDDEN>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On 04/27/2013 10:35 AM, Pádraig Brady wrote:
> severity 14283 wishlist
> 
> On 04/27/2013 03:26 AM, Linda Walsh wrote:
>> Just as 'l's displays the presence of access lists by putting a
>> '+' after the normal mode-bits, perhaps it could put a '^' after
>> mode-bits to indicate capabilities are set.
>>
>> I'm aware that if I'm on a color terminal I can get an indication
>> of this, but color is often off (run through pipes, or not on
>> color term, or by default).
>>
>> for SUID/GUID one gets an indicator of s/S in the modebits, so
>> thought '^' might be reasonable to indicate cap-elevation bits?
> 
> Yes, in general colors aren't a good mechanism to indicate permissions.
> I prefer to highlight portions of the permissions string,
> which is more direct and obvious. See http://www.pixelbeat.org/scripts/l
> 
> But we have to be a bit careful adding to the permissions string,
> for compat reasons etc. I do like the idea of ^ (hat) => cap.
> You could even be fancy and use combining hat (\u0302) so
> as to not take up any more place, though combining char support
> is not currently supported well enough to allow that I think.
> 
> We'll consider it,

There is also the performance issue to consider here.
Currently only can disable coloring or just capability coloring,
which will disable the capability lookup.
This was seen to significantly impact performance:

  $ mkdir testcap
  $ cd testcap
  $ seq 10000 | xargs touch

  $ time ls --color -l >/dev/null
  real 0m0.150s
  $ time LS_COLORS=ca=: ls --color -l >/dev/null
  real 0m0.116s

Though the overhead is decreasing over time:

  Fedora  8 = 30%
  Fedora 15 = 24%
  Fedora 20 = 14%

So I'm leaning towards leaving this enabled now in --long mode
thus allowing to set the permissions flags appropriately.

So what to set? Well we only have a single byte to play with.
Currently we have '.' meaning only SELinux, and '+' meaning anything else.
So I'm thinking we should also have capabilities significant
for outputting the '+'.

This is also tracked at http://bugs.debian.org/756712

thanks,
Pádraig.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 19 Oct 2018 00:24:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 18 20:24:54 2018
Received: from localhost ([127.0.0.1]:57718 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gDIb0-0007k3-It
	for submit <at> debbugs.gnu.org; Thu, 18 Oct 2018 20:24:54 -0400
Received: from mail-pf1-f178.google.com ([209.85.210.178]:33226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>) id 1gDIaz-0007jr-4O
 for control <at> debbugs.gnu.org; Thu, 18 Oct 2018 20:24:53 -0400
Received: by mail-pf1-f178.google.com with SMTP id 78-v6so13273027pfq.0
 for <control <at> debbugs.gnu.org>; Thu, 18 Oct 2018 17:24:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:message-id:date:user-agent:mime-version:content-language
 :content-transfer-encoding;
 bh=kYDa/Bw9IhA10a5E8nSaEutnKj6xjk8YpxhfU+owW40=;
 b=rlXTXsh1QMvLsjlV2ypgPHe3bxGapV0uJ0EvyS7jfFcwhgP1BjWbQ4wro3zPIec1+I
 LFc1TZm3AdTFnzMIR1c2pR0GpUjy33soa/uJU5pFxgq/non0zbIC0A9gqVBxqp5NDdSE
 nSoPimB6e2p3iBPZERstu4nT3F5m5+uHukRo0oQ2U1cjSj4eRIu3EQMGdhNec1Ggpaxd
 6omArIJ/OyqUUZL3xwyhTEKFvwEy+kgYKsz9Jd9U/PvKdDqF8EuSvO9Q8eIgOdNGFsf1
 ZWUYD7q2pzzfwZQGPwUm9Fj+o+xr/XS4qtNIc1VcQw4id0SuqTFr3TjRK1GwqD+HKdTq
 bL9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=kYDa/Bw9IhA10a5E8nSaEutnKj6xjk8YpxhfU+owW40=;
 b=Be1Ak8dsQhaeVhE+CIUzzew3s2X8h7OlYK+TDOUh79KxZMKroXjoKKlmECbaOweYVH
 A8dErO/cZc2j0Ttsbn0xDr7BZ0z+7E/UhO4dTpluiFjUv73dcDOpjWqEjLCounekeMLD
 aBLWnWGi0gpRwOP0si9XNoG9ilU3MIAapFkFefc3YPCApSo+fmrMDr3OwOfxxbdZwdYM
 CwN0Vwn/8RNs7icuwdxAOe3QXnNqkaIQNkJCNikwSeAaoiTJg2zUvW4uGbZrNrFDsG7D
 S2N3DCjl4yNVqN+gluNL3waa8C+eK7UMSM66EI0iEB72TITMTm6Rm4MBve9G7CNWMm+t
 LYxw==
X-Gm-Message-State: ABuFfojmZvnMig7DRn2DK1agqyLT9In2Q9tc7yLXjBuGIcgFVY8rycj6
 Fapmwg0kkvgQ2Z4dhHkA+rzS18W43pY=
X-Google-Smtp-Source: ACcGV62mP3H0/QEJCMlJOFUhSPGiboKZurputUilcSsFBCLyaLxlLgWkf+1Y/fUu3mcpfQ7uJvm1qg==
X-Received: by 2002:a65:4c43:: with SMTP id
 l3-v6mr5099060pgr.261.1539908686992; 
 Thu, 18 Oct 2018 17:24:46 -0700 (PDT)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 r1-v6sm35051096pff.145.2018.10.18.17.24.45
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 18 Oct 2018 17:24:45 -0700 (PDT)
To: control <at> debbugs.gnu.org
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <992f08cf-4adb-b24a-8473-1de458477007@HIDDEN>
Date: Thu, 18 Oct 2018 18:24:44 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  severity 14283 wishlist retitle 14283 ls: display presence
 of capabilities on a file [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (assafgordon[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
 trust [209.85.210.178 listed in list.dnswl.org]
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

severity 14283 wishlist
retitle 14283 ls: display presence of capabilities on a file




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 19 Oct 2018 00:24:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 18 20:24:54 2018
Received: from localhost ([127.0.0.1]:57718 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gDIb0-0007k3-It
	for submit <at> debbugs.gnu.org; Thu, 18 Oct 2018 20:24:54 -0400
Received: from mail-pf1-f178.google.com ([209.85.210.178]:33226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>) id 1gDIaz-0007jr-4O
 for control <at> debbugs.gnu.org; Thu, 18 Oct 2018 20:24:53 -0400
Received: by mail-pf1-f178.google.com with SMTP id 78-v6so13273027pfq.0
 for <control <at> debbugs.gnu.org>; Thu, 18 Oct 2018 17:24:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:message-id:date:user-agent:mime-version:content-language
 :content-transfer-encoding;
 bh=kYDa/Bw9IhA10a5E8nSaEutnKj6xjk8YpxhfU+owW40=;
 b=rlXTXsh1QMvLsjlV2ypgPHe3bxGapV0uJ0EvyS7jfFcwhgP1BjWbQ4wro3zPIec1+I
 LFc1TZm3AdTFnzMIR1c2pR0GpUjy33soa/uJU5pFxgq/non0zbIC0A9gqVBxqp5NDdSE
 nSoPimB6e2p3iBPZERstu4nT3F5m5+uHukRo0oQ2U1cjSj4eRIu3EQMGdhNec1Ggpaxd
 6omArIJ/OyqUUZL3xwyhTEKFvwEy+kgYKsz9Jd9U/PvKdDqF8EuSvO9Q8eIgOdNGFsf1
 ZWUYD7q2pzzfwZQGPwUm9Fj+o+xr/XS4qtNIc1VcQw4id0SuqTFr3TjRK1GwqD+HKdTq
 bL9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=kYDa/Bw9IhA10a5E8nSaEutnKj6xjk8YpxhfU+owW40=;
 b=Be1Ak8dsQhaeVhE+CIUzzew3s2X8h7OlYK+TDOUh79KxZMKroXjoKKlmECbaOweYVH
 A8dErO/cZc2j0Ttsbn0xDr7BZ0z+7E/UhO4dTpluiFjUv73dcDOpjWqEjLCounekeMLD
 aBLWnWGi0gpRwOP0si9XNoG9ilU3MIAapFkFefc3YPCApSo+fmrMDr3OwOfxxbdZwdYM
 CwN0Vwn/8RNs7icuwdxAOe3QXnNqkaIQNkJCNikwSeAaoiTJg2zUvW4uGbZrNrFDsG7D
 S2N3DCjl4yNVqN+gluNL3waa8C+eK7UMSM66EI0iEB72TITMTm6Rm4MBve9G7CNWMm+t
 LYxw==
X-Gm-Message-State: ABuFfojmZvnMig7DRn2DK1agqyLT9In2Q9tc7yLXjBuGIcgFVY8rycj6
 Fapmwg0kkvgQ2Z4dhHkA+rzS18W43pY=
X-Google-Smtp-Source: ACcGV62mP3H0/QEJCMlJOFUhSPGiboKZurputUilcSsFBCLyaLxlLgWkf+1Y/fUu3mcpfQ7uJvm1qg==
X-Received: by 2002:a65:4c43:: with SMTP id
 l3-v6mr5099060pgr.261.1539908686992; 
 Thu, 18 Oct 2018 17:24:46 -0700 (PDT)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 r1-v6sm35051096pff.145.2018.10.18.17.24.45
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 18 Oct 2018 17:24:45 -0700 (PDT)
To: control <at> debbugs.gnu.org
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <992f08cf-4adb-b24a-8473-1de458477007@HIDDEN>
Date: Thu, 18 Oct 2018 18:24:44 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  severity 14283 wishlist retitle 14283 ls: display presence
 of capabilities on a file [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (assafgordon[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
 trust [209.85.210.178 listed in list.dnswl.org]
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

severity 14283 wishlist
retitle 14283 ls: display presence of capabilities on a file





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.