Board logo

mode of /etc/hosts not correct?
debpa - 12-13-2006 at 09:14 AM

Hello,

I have a problem with the /etc/hosts File at a Bluequartz 4.6 System.
The mode of the file is 640. But should be 644 in my opinion. Because user which are not root or in the group of /etc/hosts can not resolv localhost to 127.0.0.1.
If I chmod /etc/hosts to 644 manually, system is changing it back after a while. How can I switch /etc/hosts to mode 644 permanently?

regards,
Dirk


brian - 12-13-2006 at 11:17 PM

edit:
/usr/sausalito/handlers/nuonce/fixhosts/fixhosts

last line do this:

chmod 644 /etc/hosts

I will update this, but that is how you can fix it.