Bug 14319 - -M--fake-super --chmod changes the permissions stored in the xattr
Summary: -M--fake-super --chmod changes the permissions stored in the xattr
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-12 16:29 UTC by Dimitrios Apostolou
Modified: 2020-03-12 16:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Apostolou 2020-03-12 16:29:59 UTC
I want to save the original permissions in the xattr, in order to have a proper backup, but set a custom mode of g+rX to the files.

It seems there is no way to separate the permissions stored in the xattr to the real permissions. Rsync will always store the same in both places. I have tried different combinations of --fake-super --perms --chmod with no success.

I brought up the issue here: https://www.mail-archive.com/rsync@lists.samba.org/msg32714.html