Open pyronaur opened 6 years ago
I found the answer, it's an rsync
bug fixed in 3.2.4
or 3.2.5
:
I would post this also on https://github.com/ansible/ansible/issues/64971 but unfortunately they use the software engineering anti-pattern of locking issues so they likely will never learn of the answer :disappointed_relieved:
Usually adding -s
can solve this issue, from rsync manpage:
If you specify "--chown=foo:bar", this is exactly the same as specifying "--usermap=:foo --groupmap=:bar", only easier. If your shell complains about the wildcards, use --protect-args (-s).
Got this error:
From: Mac OS X Sierra, rsync 3.1.2
To: Ubuntu 16.04, rsync 3.1.0
Tried config like this
chown: 'www-data:www-data',
and this:chown: '"www-data:www-data"',
I'm syncing as root, so I'm fairly certain I have permissions. No idea what do do about this.