rsync time machine backup permissions
Dave Gordon
dg32768 at zoho.eu
Wed Apr 4 12:57:57 UTC 2018
On 20/03/18 05:51, Michael via rsync wrote:
> What is the order that rsync uses to set permissions?
>
> Time Machine directories have ACL permissions that basically prohibit making any changes of any kind. In order to make a backup of the directory, you would need to set those permissions after copying everything in the subdirectories.
>
> Is rsync smart enough to do it in that order?
Yes.
The precise sequence depends on lots of (combinations of) options, but
in many cases rsync creates directories with permissions 0700 (u=rwx),
then fills in the contents, then sets xattrs, timestamps and
permissions/acls to the correct values after all transfers are done.
.Dave.
More information about the rsync
mailing list