Summary: chown root:root soft link /etc/hosts gives "root other"

From: <>
Date: Sun Jun 20 2004 - 22:21:14 EDT
That's normal.  By default, chown changes the ownership of the file
pointed to by the link, not the link itself.  If you need to change the
link's owner/group, use the "-h" option.  From "man chown":

     -h    If the file is a symbolic link, change  the  owner  of
           the  symbolic  link. Without this option, the owner of
           the file referenced by the symbolic link is changed.

James Noyes


You need to use "chown -h".



Use the -h option on the soft link.

Chris Pinnock


chown -h root:root /etc/hosts


        Visit our Internet site at

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.
sunmanagers mailing list
Received on Sun Jun 20 22:21:10 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:33 EST