On Sun, 23 Aug 2009, Edward Ned Harvey wrote:

It makes no sense to attempt setting perms on a symlink.  The perms are
determined by the actual file.  The symlink is just another name for the
file itself.  If you want to change perms of the file, change the perms of
the file.

Actually it does make plenty of sense. Not having control over this is a security problem. It provides a way for someone to gain access/ownership to a file that they should not have access to or to screw up the system. All one has to do is to create the requisite link in a place that you have access to, and then entice the victim to chmod the files for you.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to