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.