On 24/04/15 17:54, Peng Yu wrote:
> Hi, `ls` does not show broken links in red. Does anybody know what is wrong?
> 
> I show the things with ls below.
> 
> /tmp$ echo $LS_COLORS
> 
> /tmp$ dircolors
> LS_COLORS='rs=0:di=01;34:ln=01;36...or=40;31;01...

With that (default) set, the broken symlinks, should be red on a black 
background.
I copy/pasted that LS_COLORS into a terminal here and that was the case.

Note the related default dircolors MISSING value is uncolored, which results
in the coloring deferring to the ORPHAN coloring, so should not impact here.

I see you have a 2014 version of coreutils.
Is it locally patched? Can you step through ls in a debugger
to see why it's not coloring the broken links?

thanks,
Pádraig.


Reply via email to