This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 236311 - coreutils shows good links as dangling
coreutils shows good links as dangling
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-12 20:08 EDT by Sammy
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version: 5.97-12.5.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-19 04:24:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Color definitions file (2.46 KB, text/plain)
2007-04-13 09:35 EDT, Sammy
no flags Details

  None (edit)
Description Sammy 2007-04-12 20:08:45 EDT
Description of problem:

After updating to coreutils 5.97-12.4.fc6 good symlinks show as dangling.
I am using "ls -bCAF --color". Downgrading to 12.3 does not have this
problem.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Tim Waugh 2007-04-13 07:48:25 EDT
I can't reproduce this.  Please give a test case.
Comment 2 Sammy 2007-04-13 09:35:41 EDT
Created attachment 152541 [details]
Color definitions file
Comment 3 Sammy 2007-04-13 09:36:53 EDT
I have investigated this further and found the following:

In /etc/DIR_COLORS and /etc/DIR_COLORS.xterm I have set:

          ORPHAN 01;05;37;41  # orphaned syminks

where 05=blink and others colors. This shows the orphaned syminks as
blinking bold white on red backgorund. Otherwise regular symlinks show
as cyan.

With the latest upgrade and using "ls --color" all symlinks are blinking BUT
if I comment this line in DIRCOLORS then the orphaned symlinks show as cyan
(no different than non orphaned) except when you do ls -l, in which case
only the link target itself shows as blinking, which is correct because I set
missing files to blink as well. I am going to attach my DIR_COLORS.
Comment 4 Tim Waugh 2007-04-17 07:51:12 EDT
Test case:

rm -rf arena
mkdir arena
cd arena
touch file
ln -s file symlink
/bin/ls --color | cat -vet

Actual result:
^[[00m^[[00mfile^[[00m$
^[[01;05;37;41msymlink^[[00m$

Expected result:
^[[00m^[[00mfile^[[00m$
^[[00;36msymlink^[[00m$

Should be fixed in coreutils-5.97-12.5.fc6, shortly to appear in
updates-testing.  Thanks for catching this.
Comment 5 Fedora Update System 2007-04-18 18:37:48 EDT
Fixed in update: coreutils-5.97-12.5.fc6

Note You need to log in before you can comment on or make changes to this bug.