Symlinks in OS X (10.4.1)

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


On 10/15/07, Wayne Davison <wayned at samba.org> 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?

Matt


More information about the rsync mailing list