Symlinks in OS X (10.4.1)

Matt McCutchen hashproduct+rsync at
Tue Oct 16 02:21:35 GMT 2007

On 10/15/07, Wayne Davison <wayned at> wrote:
> Is there a system call that allows their permissions to be changed
> after they've been created?  (Since lchmod is lacking.)

I don't think so, but as Wesley hinted, one can effectively change a
symlink's permissions by deleting it, setting the umask appropriately,
and recreating it.  I think this behavior is useful enough to be
provided by a distributed patch.  It does break hard links; are there
any other caveats?


More information about the rsync mailing list