View previous topic :: View next topic |
Author |
Message |
impf n00b
Joined: 03 May 2002 Posts: 10 Location: Lucerne, Switzerland
|
Posted: Mon May 06, 2002 1:04 pm Post subject: dircolors Error |
|
|
I created a user 'daniel'. When I log in with that the error occurs:
Code: | dircolors: '/etc/DIR_COLORS': no such file or directory |
What is wrong?
Impf |
|
Back to top |
|
|
Nossie Apprentice
Joined: 19 Apr 2002 Posts: 181
|
Posted: Fri May 10, 2002 4:11 pm Post subject: |
|
|
Well, what's wrong is that the fiel /etc/DIR_COLORS doesn't exist (but you probably figured that out already )
You can copy the file from /usr/portage/sys-apps/fileutils/files/DIR_COLORS
Nossie |
|
Back to top |
|
|
Jeevz Bodhisattva
Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Fri May 10, 2002 4:45 pm Post subject: |
|
|
Just do this:
Code: | dircolors -p > DIR_COLORS |
That will create a default color scheme for you. Open up the file (in the above case DIR_COLORS) and tweak it to your liking. |
|
Back to top |
|
|
|