diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-09-14 13:37:37 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-09-21 13:16:44 +0100 |
commit | 3a169f4c5d9159283548178668d2fae6fced3030 (patch) | |
tree | f604d725323a55ca480e3eeb49421bc91048fe35 /NEWS | |
parent | 29ec834c3b076dbc1bd160ef780a58f5b086ce13 (diff) | |
download | coreutils-3a169f4c5d9159283548178668d2fae6fced3030.tar.xz |
ls: handle disabling of colors consistently for all tile types
* src/ls.c (print_color_indicator): Use consistent syntax for
all file and directory subtypes, and fall back to the color
of the base type if there is no enabled color for the subtype.
This allows turning off specific colors for o+w dirs for example.
* tests/ls/color-dtype-dir: Add a case to test that turning off
coloring for o+w directories, falls back to standard dir color.
* NEWS: Mention the fix
Introduced by commit ac467814, 2005-09-05,
"Colorize set-user-ID ... files and sticky ... directories."
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ GNU coreutils NEWS -*- outline -*- to accommodate leap seconds. [the bug dates back to the initial implementation] + ls --color now reverts to the color of a base file type consistently + when the color of a more specific type is disabled. + [bug introduced in coreutils-5.90] + ** Changes in behavior id no longer prints SELinux " context=..." when the POSIXLY_CORRECT |