samba-bugs at samba.org
2010-Feb-08 01:58 UTC
DO NOT REPLY [Bug 7112] New: --fake-super should use default permissions for real files
https://bugzilla.samba.org/show_bug.cgi?id=7112 Summary: --fake-super should use default permissions for real files Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: matt at mattmccutchen.net QAContact: rsync-qa at samba.org Currently, --fake-super is documented as emulating root powers on the filesystem, and accordingly, it gives the current user all permissions on the real files (though see bug 7111). However, it emulates some attributes that are not really privileged: POSIX ACLs and ownership by a group to which the current user belongs. I would like it to use default permissions for the real files, at which point it would become a full file-attribute emulation layer. This would allow multiple users to share a fake-super tree by establishing appropriate default permissions. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2020-Mar-12 16:31 UTC
[Bug 7112] --fake-super should use default permissions for real files
https://bugzilla.samba.org/show_bug.cgi?id=7112 --- Comment #1 from Dimitrios Apostolou <jimis at gmx.net> --- 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 the real mode of the file by adding --chmod, in order to make it group readable, but this affects the mode stored in the xattr! There is no way to separate the two modes, the one in the xattr and the real-mode. They are always set to the same value AFAICT. Opened related bug #14319: -M--fake-super --chmod changes the permissions stored in the xattr. -- You are receiving this mail because: You are the QA Contact for the bug.
Reasonably Related Threads
- Would you expect --perms -M--fake-super to set the file mode to the original one?
- Would you expect --perms -M--fake-super to set the file mode to the original one?
- Would you expect --perms -M--fake-super to set the file mode to the original one?
- How Can I save the original permissions while setting g+rX for all files
- Would you expect --perms -M--fake-super to set the file mode to the original one?