DO NOT REPLY [Bug 7111] New: --fake-super should set real file u+x if source is executable

samba-bugs at samba-bugs at
Sun Feb 7 18:48:21 MST 2010

           Summary: --fake-super should set real file u+x if source is
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: matt at
         QAContact: rsync-qa at

The --fake-super mode should set u+x on the real file if the source file is
executable.  This would be consistent with Linux permission checking for the
real superuser:;a=blob;f=fs/namei.c;hb=6339204ecc2aa2067a99595522de0403f0854bb8#l226

Test case (run as non-root):
touch file
chmod 401 file
rsync-dev -a -M--fake-super file file2
if [ -x file2 ]; then echo "PASS"; else echo "FAIL"; fi

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list