[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12445: ls --color does not color symlinks when not resolving them
From: |
Matei David |
Subject: |
bug#12445: ls --color does not color symlinks when not resolving them |
Date: |
Fri, 14 Sep 2012 12:54:51 -0400 |
When the ORPHAN property is disabled in dircolors, ls --color does not stat()
symlinks. However, in this case symlinks are not colored using the LINK
property.
How to reproduce:
$ eval $(dircolors -p | sed 's/^ORPHAN.*/ORPHAN 00/' | dircolors -)
$ mkdir /tmp/xxx
$ ln -s /tmp/nowhere /tmp/xxx/yyy
$ ls --color /tmp/xxx
Expected output:
yyy, colored cyan (default for LINK)
Actual output:
yyy, not colored
Fix attached. Basically, in gobble_file(), assume a symlink is ok if stat() is
not run on it.
Thanks,
M
fix
Description: Binary data
- bug#12445: ls --color does not color symlinks when not resolving them,
Matei David <=
- bug#12445: ls --color does not color symlinks when not resolving them, Pádraig Brady, 2012/09/14
- bug#12445: ls --color does not color symlinks when not resolving them, Matei David, 2012/09/14
- bug#12445: ls --color does not color symlinks when not resolving them, Pádraig Brady, 2012/09/15
- bug#12445: ls --color does not color symlinks when not resolving them, Pádraig Brady, 2012/09/15
- bug#12445: ls --color does not color symlinks when not resolving them, Jim Meyering, 2012/09/16
- bug#12445: ls --color does not color symlinks when not resolving them, Bernhard Voelker, 2012/09/16
- bug#12445: ls --color does not color symlinks when not resolving them, Jim Meyering, 2012/09/16
- bug#12445: ls --color does not color symlinks when not resolving them, Bernhard Voelker, 2012/09/16