preserving the DESTINATION permissions, group and owner of the transferred files
Wayne Davison
wayned at samba.org
Sun May 2 20:40:21 MDT 2010
On Tue, Apr 20, 2010 at 10:29 AM, Terrence Brannon <schemelab at gmail.com>wrote:
> I want the permissions, group and owner of the transferred files to retain
> the settings of the DESTINATION file. Is this possible with rsync?
>
The perms (mode) part works well by leaving off --perms (or using
--no-perms), since that leaves the perms of existing files unchanged, even
when updating them. Sadly, the same is not true for owner and group. You'd
have to use --inplace and leave off --owner and --group to leave files
owner/group unchanged.
..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100502/e89e03ae/attachment.html>
More information about the rsync
mailing list