DO NOT REPLY [Bug 7111] New: --fake-super should set real file u+x if source is executable
samba-bugs at samba.org
samba-bugs at samba.org
Sun Feb 7 18:48:21 MST 2010
https://bugzilla.samba.org/show_bug.cgi?id=7111
Summary: --fake-super should set real file u+x if source is
executable
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: matt at mattmccutchen.net
QAContact: rsync-qa at samba.org
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:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;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: 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.
More information about the rsync
mailing list