Would you expect --perms -M--fake-super to set the file mode to the original one?
Dimitrios Apostolou
jimis at gmx.net
Mon Mar 16 14:01:25 UTC 2020
Thanks. This is a bit counter-intuitive to me. So how would you tell
rsync to store the original permissions in the xattr, but do not touch
the real file mode?
On Thursday, March 12, 2020 6:26:18 PM CET, Kevin Korb via rsync wrote:
> I would expect that the sending rsync would only send the perms provided
> modified by the --chmod. I wouldn't expect the receiver to even know
> the other permissions.
>
> On 3/12/20 1:23 PM, Dimitrios Apostolou via rsync wrote:
>> Thank you for the feedback, I'm glad to see that different people see
>> the issue
>> differently. As a followup question, what would you expect this to do:
>>
>> rsync --perms --chmod g+rX -M--fake-super src dst
>>
>> I would expect it to store the original permissions in the
>> xattr, while ...
>
More information about the rsync
mailing list