[Bug 1203683] New: rsync path checks reject valid path when using wildcards with option -R not on the first argument
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683 Bug ID: 1203683 Summary: rsync path checks reject valid path when using wildcards with option -R not on the first argument Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: opensuse@dstoecker.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0 Build Identifier: When I call rsync like this:
rsync -R server:/etc/passwd 'server:/etc/apache2/vhosts.d/*.conf' z/ ERROR: rejecting unrequested file-list name: /etc/apache2 rsync error: protocol incompatibility (code 2) at flist.c(998) [Receiver=3.2.6]
I get an error for the perfectly valid second argument. Whereas when I pass only one argument
rsync -R 'server:/etc/apache2/vhosts.d/*.conf' z/
It does what it should do. Seems the patches to fix the "additional file" security issue don't do what they should do. I use Tumbleweed 20220917 with rsync rsync-3.2.6-1.1.x86_64. I expect the error to be on client side because it happens with all my servers whether they are updated yet or not. Reproducible: Always Steps to Reproduce: Call the command "rsync -R server:/etc/passwd 'server:/etc/apache2/vhosts.d/*.conf' z/" to a server with apache installed or choose another similar setup. Actual Results: Error message Expected Results: No error message. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683#c1
--- Comment #1 from Dirk Stoecker
rsync -R server:/etc/passwd server:/etc/sysconfig/network/ifcfg-eth0 . ERROR: rejecting unrequested file-list name: /etc/sysconfig
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683#c2
--- Comment #2 from Dirk Stoecker
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683
http://bugzilla.opensuse.org/show_bug.cgi?id=1203683#c3
Dirk Stoecker
participants (1)
-
bugzilla_noreply@suse.com