Displaying 2 results from an estimated 2 matches for "rsyncdest".
Did you mean:
rsync_test
2007 Nov 10
3
Funny issue with chroot + symlink outside chroot
...How to reproduce:
On server side I setup a tree and share using rsync + xinetd, of course, for
security reason I use chroot option.
Now I push this symlink:
lrwxrwxrwx 1 root root 4 nov 10 16:28 horsroot -> /bin/
Now I try to do:
./rsync -avPH --copy-unsafe-links draco::test/ /tmp/rsyncdest/
(Of course the transfert will failed because /bin is outside the chroot.)
The first problem is the error message is not push to stderr but stdout:
---------------------------
[nanardon@draco rsync]$ rsync -avPH --copy-unsafe-links
virgo::test/ /tmp/rsyncdest/ 2>/dev/null
[...]
file has vani...
DO NOT REPLY [Bug 4220] New: --backup causes "stat" failed message when trying to delete a directory
2006 Nov 12
2
DO NOT REPLY [Bug 4220] New: --backup causes "stat" failed message when trying to delete a directory
.... not using the script as it is presented) so
that I can experiment with its functionaility before putting it in place. The
command I am using is:
rsync -av --force --ignore-errors --delete --backup
--backup-dir=/Users/eric/Desktop/rsyncBackup1 /Users/eric/Desktop/rsyncSource/
/Users/eric/Desktop/rsyncDest/
When the source directory (/Users/eric/Desktop/rsyncSource/) contains the
following:
testfile1.txt
testfolder
testfile2.txt
The first time I run the command, it syncs correctly to
/Users/eric/Desktop/rsyncDest/, as expected.
Now, if I delete all the files from the source, and run the co...