Changing permissions (mode) of a soft symlink

From: Sun Managers (sunmanagers@netscape.net)
Date: Mon Dec 15 2003 - 06:06:20 EST


Hi Managers,

I have a (soft) symlink to /dev/null. The permissions of /dev/null itself are correct, and these are the effective permissions of anyone trying to access the symlink. However I wish to change the permissions and ownership of the link (not the target) in order to meet a security audit requirement. In the case of the ownership, this is done with:-

chown -h newowner link

but the equivalent for chmod does not work -- it does not accept the '-h' argument (however, this works in Linux IIRC). Is it possible to change the permissions of a link under Solaris?

Will summarise

Thanks

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:41 EDT