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

From: <Pit-Ong.Ong.Goh_at_reuters.com>
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.


Cheers,
James Noyes

-----------

You need to use "chown -h".

Casper

-----------

Use the -h option on the soft link.

Chris Pinnock

------------

chown -h root:root /etc/hosts

Sega





-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

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
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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