RSYNC package update breaks usage of relative paths in --files-from option
Issue
- The recent fix to RSYNC for CVE-2022-29154 (rsync-3.1.2-11.el7_9) causes the --files-from with relative paths in file list to not copy.
# cat /tmp/testdir/files_list
../testdir/file8.txt ## Relative paths in --files-from option.
../testdir/file7.txt
# rsync -av --partial --files-from=/tmp/testdir/files_list /tmp/testdir/ root@rhel79:/tmp/
root@rhel79's password:
rsync: link_stat "/tmp/testdir/testdir/file8.txt" failed: No such file or directory (2)
rsync: link_stat "/tmp/testdir/testdir/file7.txt" failed: No such file or directory (2)
- How to specify relative paths in file list with rsync ?
Environment
- Red Hat Enterprise Linux 7
- rsync-3.1.2-11.el7_9.x86_64.rpm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.