Displaying 1 result from an estimated 1 matches for "horsroot".
Did you mean:
homeroot
2007 Nov 10
3
Funny issue with chroot + symlink outside chroot
Hi,
The problem I found is not in what rsync, but on the error handling:
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]$ rsyn...