Bug 2112593
| Summary: | Error using custom ~/.dir_colors/DIR_COLORS | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dimitris <centos> |
| Component: | coreutils | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 36 | CC: | admiller, jamartis, jarodwilson, kdudka, kzak, ooprala, ovasik, p, sebastian.kisela, svashisht |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | coreutils-9.1-6.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-08 15:16:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dimitris
2022-07-30 21:00:40 UTC
~/.dir_colors should not be a directory, it should be a regular file. You can use a copy of /etc/DIR_COLORS to begin with but save it directly as ~/.dir_colors (without creating any directory). Ah, I see! I got confused by the instructions at the top of the DIR_COLORS file, which says: # You can copy this file to .dir_colors in your $HOME directory to override I interpreted "to .dir_colors in your $HOME" as "into the directory .dir_colors" Sorry for opening a non-bug report and thank you for the help. No worries. Any idea how to improve the wording to make it more obvious? How about: # You can copy this file as the file ~/.dir_colors to override the system defaults or maybe: # You can override the system defaults by making a copy of this file as ~/.dir_colors Something along those lines... Thanks! I have submitted a merge request to fix this: https://src.fedoraproject.org/rpms/coreutils/pull-request/9 |