On Mon, 2007-10-15 at 22:21 -0400, Matt McCutchen wrote: > On 10/15/07, Wayne Davison <[EMAIL PROTECTED]> 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?
Deleting the symlink, means the link is not present for an undetermined period, doesn't seem a really clean way to just change permissions. Simo. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
