>I know it's documented in the manual, but I find it a bit strange behaviour >that chmod -R changes the permissions of the target of a >symbolic link. >
>Is there any reason for this behaviour? > Symbolic links do not have a mode; so you can't chmod them; chmod(2) follows symbolic links (it was created before symbolic links existed). Unfortunately, when symbolic links were created, they had an owner but no relevant mode: so there's a readlink, symlink, lchown but no lchmod. I think a lchmod() would be nice, if only to avoid following them. Casper _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss