samba-bugs
Sun, 07 Feb 2010 17:47:55 -0800
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: way...@samba.org
ReportedBy: m...@mattmccutchen.net
QAContact: rsync...@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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html