Bug 236311
Summary: | coreutils shows good links as dangling | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sammy <umar> | ||||
Component: | coreutils | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | meyering | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.97-12.5.fc6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-04-19 08:24:09 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Sammy
2007-04-13 00:08:45 UTC
I can't reproduce this. Please give a test case. Created attachment 152541 [details]
Color definitions file
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. 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. Fixed in update: coreutils-5.97-12.5.fc6 |