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
>
rsync --perms -M--fake-super src dst
For me, this command means that rsync should save the original perms in the
xattr, and leave the real file mode to the umask default. Currently it also
modifies the real file mode, and there is no way to store something
different
in the xattr.
According to
Permissions don't require super. Any place where permissions can't be
stored certainly can't handle xattrs either. So, I wouldn't expect
--fake-super to affect --perms at all.
On 3/12/20 12:46 PM, Dimitrios Apostolou via rsync wrote:
> rsync --perms -M--fake-super src dst
>
> For me, this
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
modifying the real
https://bugzilla.samba.org/show_bug.cgi?id=14319
Bug ID: 14319
Summary: -M--fake-super --chmod changes the permissions stored
in the xattr
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
https://bugzilla.samba.org/show_bug.cgi?id=7112
--- Comment #1 from Dimitrios Apostolou ---
I agree. I am running rsync with --perms, but I want --fake-super to store the
original permissions in the xattr, and not change the real mode of the
destination file.
What is more, I am trying to force