You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would probably be because, as said here, rsync needs the parameter -og to use --chown.
I was able to make it work enabling the archive option.
Maybe it would be better to add by default the parameter -og if chown is used (and probably -p for chmod).
I would post this also on ansible/ansible#64971 but unfortunately they use the software engineering anti-pattern of locking issues so they likely will never learn of the answer 😥
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.
The text was updated successfully, but these errors were encountered: