when we do a lchown() on a file we have to flush the cached perms on
authorAndrew Tridgell <tridge@samba.org>
Thu, 6 Jan 2000 00:26:00 +0000 (00:26 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 6 Jan 2000 00:26:00 +0000 (00:26 +0000)
commita5827a28d296b62cd9b20a221991903601938448
treef4f2ac5f2081da0770b82dde9f363f4940048044
parentdcc875e41e1c9865755dbd0cc839e74ac878910e
when we do a lchown() on a file we have to flush the cached perms on
the file if the file has the setuid or setgid bits set as the chown
has a side effect of removing the setuid and setgid bits.
we re-do the stat in this case
rsync.c