Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dircolors: `/etc/DIR_COLORS': No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Somefella
n00b
n00b


Joined: 01 Sep 2002
Posts: 8

PostPosted: Mon Sep 02, 2002 12:31 am    Post subject: dircolors: `/etc/DIR_COLORS': No such file or directory Reply with quote

When new users are logging in (via SSH if that matters), they get the following error:

dircolors: `/etc/DIR_COLORS': No such file or directory

I did a stage 3 install of Gentoo 1.2. I am a new user so maybe there is something I have missed?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Sep 02, 2002 1:01 am    Post subject: Reply with quote

The file /etc/DIR_COLORS seems to be missing. I have PM'ed the one from my install to you.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Sep 02, 2002 1:05 am    Post subject: Reply with quote

Anyway, this is a post-install question. Moving to Other Things Gentoo.
Back to top
View user's profile Send private message
Somefella
n00b
n00b


Joined: 01 Sep 2002
Posts: 8

PostPosted: Mon Sep 02, 2002 1:15 am    Post subject: Reply with quote

Thanks for the replies Naan Yaar, much appreciated. :)

I created /etc/DIR_COLORS and now on login the users get:
dircolors: /etc/DIR_COLORS:11: invalid line; missing second token
dircolors: /etc/DIR_COLORS:34: invalid line; missing second token
dircolors: /etc/DIR_COLORS:43: invalid line; missing second token
dircolors: `/etc/DIR_COLORS':47: unrecognized keyword of
dircolors: /etc/DIR_COLORS:49: invalid line; missing second token
dircolors: /etc/DIR_COLORS:62: invalid line; missing second token
dircolors: /etc/DIR_COLORS:66: invalid line; missing second token

Anyone have any ideas?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Sep 02, 2002 1:34 am    Post subject: Reply with quote

I think you pasted it into a nano session started without the "-w" option. If you do:
Code:

rm /etc/DIR_COLORS
nano -w /etc/DIR_COLORS

and then paste it into your terminal window and then save, you should be OK.
Back to top
View user's profile Send private message
Somefella
n00b
n00b


Joined: 01 Sep 2002
Posts: 8

PostPosted: Mon Sep 02, 2002 2:10 am    Post subject: Reply with quote

That fixed it, thanks for that. I'm still getting used to nano. :)

Well that is that problem out of the road, thanks for the replies. :)
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Sep 02, 2002 3:46 am    Post subject: Reply with quote

Nano is pretty limited. You may want to look at vim/emacs/xemacs if you want more powerful editors.
Somefella wrote:
That fixed it, thanks for that. I'm still getting used to nano. :)

Well that is that problem out of the road, thanks for the replies. :)
Back to top
View user's profile Send private message
Somefella
n00b
n00b


Joined: 01 Sep 2002
Posts: 8

PostPosted: Mon Sep 02, 2002 10:55 am    Post subject: Reply with quote

I will look into emacs now. It would definitely be worth learning something a little more powerful than nano (and pico which is where I came from).

Thanks again for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum