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.


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to