Would you expect --perms -M--fake-super to set the file mode to the original one?
jimis at gmx.net
Thu Mar 12 16:46:21 UTC 2020
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
in the xattr.
According to an old bug report that I found, more people would like
--fake-super to be a complete attribute emulation layer.
Do you agree? I'm in the process of implementing this as a bug fix to
and would like to know if everybody agrees with this behaviour. The patch
would also modify the man page to document it under --perms.
More information about the rsync