Scott Russell <[EMAIL PROTECTED]> writes:
> [root@linux ftp-mirror]# ls -al
> total 8
> drwxr-xr-x   2 root     root         4096 Feb 16 13:35 .
> drwxr-xr-x  29 root     root         4096 Feb 16 13:16 ..
> lrwxrwxrwx   1 root     root           57 Feb 16 13:35 RedHat -> 
>../../home/ftp/pub/distributions/iso-images/RedHat/7.1-en
> lrwxrwxrwx   1 root     root           55 Feb 16 13:35 SuSE -> 
>../../home/ftp/pub/distributions/iso-images/SuSE/7.1-en
> lrwxrwxrwx   1 root     root           37 Feb 16 13:34 kernel.org -> 
>../../home/ftp/pub/mirrors/kernel.org
> 
> In my /etc/rsyncd.conf I have:
> 
> [small]
>         path = /var/ftp-mirror
>       comment = Test ftp site
>       
> From my workstation when I run this command to rsync it fails:
> 
> [scottrus@bzimage /dahole]$ rsync -avvL ftp3.linux.ibm.com::small/ test/
> receiving file list ... readlink kernel.org: No such file or directory
> readlink RedHat: No such file or directory
> readlink SuSE: No such file or directory
> done
> wrote 70 bytes  read 207 bytes  554.00 bytes/sec
> total size is 0  speedup is 0.00

This might be caused by the rsync server making a chroot() to
/var/ftp-mirror, thus failing to follow the symbolic links into
home/ftp.  No chroot occurs when using ssh a transport.  So you can
try adding 'use chroot = no' or re-organizing your tree.

/assar

Reply via email to