Opened 14 years ago

Last modified 14 years ago

#3058 closed Bug report

infinite loop if try to download a soft link directory

Reported by: tommywu Owned by:
Priority: normal Component: Other
Keywords: Cc: tommywu, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

try to download a soft link directory from remote site,
FileZilla will go into an infinite loop and eat 100% CPU.
This will happen for both ftp and sftp.

Change History (5)

comment:1 by Tim Kosse, 14 years ago

I could not reproduce this problem. Can you please provide
further information, like the full paths of the link and the
target and the source directory where the download got started?

comment:2 by tommywu, 14 years ago

test case:
================================================
[twu@dbtst testcase]$ pwd
/home/twu/testcase
[twu@dbtst testcase]$ ls -la
total 12
drwxrwxr-x 3 twu twu 4096 Oct 19 08:37 .
drwx------ 12 twu twu 4096 Oct 19 08:37 ..
drwxr-xr-x 2 twu twu 4096 Oct 19 08:32 testdir
lrwxrwxrwx 1 twu twu 8 Oct 19 08:33 testlink1 -> testdir/
lrwxrwxrwx 1 twu twu 20 Oct 19 08:34 testlink2 ->
/var/spool/testlink/
[twu@dbtst testcase]$ ls -la testdir
total 12
drwxr-xr-x 2 twu twu 4096 Oct 19 08:32 .
drwxrwxr-x 3 twu twu 4096 Oct 19 08:37 ..
-rwxr-xr-x 1 root root 912 Oct 19 08:32 t.php
[twu@dbtst testcase]$ ls -la testlink1/
total 12
drwxr-xr-x 2 twu twu 4096 Oct 19 08:32 .
drwxrwxr-x 3 twu twu 4096 Oct 19 08:37 ..
-rwxr-xr-x 1 root root 912 Oct 19 08:32 t.php
[twu@dbtst testcase]$ ls -la testlink2/
total 16
drwxr-xr-x 2 twu twu 4096 Oct 19 08:33 .
drwxr-xr-x 15 root root 4096 Oct 19 08:33 ..
-rw-r--r-- 1 twu twu 188 Oct 19 08:33 hosts
[twu@dbtst testcase]$
================================================

If download testlink1, it work fine.
but download testlink2, FZ3 will change the directory to
/var/spool/testlink/, then hang, eat 100% CPU.

comment:3 by Tim Kosse, 14 years ago

Thanks for reporting. This issue has been fixed in the CVS
repository and will be available with the next version.

comment:4 by tommywu, 14 years ago

I just build from CVS, the problem is gone, but no any
files/directorys in the soft link directory will be transferred.

comment:5 by Tim Kosse, 14 years ago

That is by design, because it is outside the physical
directory tree of the startig location.

Note: See TracTickets for help on using tickets.