bug: xattr filter rule treated as file filter rule on the remote side
Andras Nagy
andras at nagya.net
Sun Apr 29 16:14:12 UTC 2018
> On Apr 29, 2018, at 8:45 AM, Paul Slootman via rsync <rsync at lists.samba.org> wrote:
> I think that you're missing the point that filter rules affect the list
> of files to be transferred. This implies that it always applies to the
> *sending* side, as that is the side that builds the list to be sent.
>
> It does not matter if the sending side is local or remote, so using that
> in the description of the problem is wrong.
I understand from the docs (attached below) that by default, filter rules apply to both sides.
An s is used to indicate that the rule applies to the sending side.
When a rule affects the sending side, it prevents files from being
transferred. The default is for a rule to affect both sides unless
--delete-excluded was specified, in which case default rules become
sender-side only. See also the hide (H) and show (S) rules, which
are an alternate way to specify sending-side includes/excludes.
An r is used to indicate that the rule applies to the receiving side.
When a rule affects the receiving side, it prevents files from being
deleted. See the s modifier for more info. See also the protect (P)
and risk (R) rules, which are an alternate way to specify
receiver-side includes/excludes.
More information about the rsync
mailing list