After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336619 - Open Link on ftp:// URI leads to infinite loop if no anonymous access
Open Link on ftp:// URI leads to infinite loop if no anonymous access
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: ftp
2.15.x
Other All
: Urgent major
: 2.16
Assigned To: Christian Neumair
libgnome maintainer
Depends on:
Blocks:
 
 
Reported: 2006-03-30 14:31 UTC by Sebastien Bacher
Modified: 2006-04-25 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.64 KB, patch)
2006-04-01 17:28 UTC, Christian Neumair
committed Details | Review

Description Sebastien Bacher 2006-03-30 14:31:35 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gnome-terminal/+bug/36285

"In gnome-terminal:

  echo ftp://ftp.gag.com/debian/

Right-Click "Open Link". This FTP server exists but currently has anonymous access disabled, because of the Login incorrect message, gnome-terminal's builtin(!?) FTP client goes into an infinite loop with the terminal not being updatable and 'kill -9' the only solution.

  connect(23, {sa_family=AF_INET, sin_port=htons(21), sin_addr=inet_addr("192.133.104.8")}, 16) = 0
  read(23, "220 ProFTPD 1.2.10 Server (Debia"..., 4096) = 52
  write(23, "USER anonymous\r\n", 16) = 16
  read(23, "331 Password required for anonym"..., 4096) = 38
  write(23, "PASS nobody@gnome.org\r\n", 23) = 23
  read(23, "530 Login incorrect.\r\n", 4096) = 22
  close(23)

Please email 'bdale@gag.com' so he can re-enable his FTP server after this is tracked down.

http://librarian.launchpad.net/1822538/gnome-terminal-anonymous-ftp-bzzzt.strace.txt
result of:

  strace -p `pidof gnome-terminal`
...
I don't know how to mark this as confirmed, but I can confirm this. I tried it with my server which also has no anonymous access.
...
If this can't be tracked down, I guess just disabling FTP URLs from within gnome-terminal might be a hack to stop it happening."
Comment 1 Christian Kirbach 2006-03-31 13:43:19 UTC
I can confirm this. looks like it is hardcoded to only use anonymous login.
Comment 2 Guilherme de Siqueira Pastore 2006-04-01 16:08:25 UTC
gnome-terminal has no "builtin(!?) FTP client", it simply delivers the URL it extracts to gnome_url_show, just like it does with any other sort of URL. Reassigning the bug to libgnome.
Comment 3 Sebastien Bacher 2006-04-01 16:32:36 UTC
gnome-open starts nautilus to open the ftp ...
Comment 4 Christian Neumair 2006-04-01 17:02:24 UTC
Looks like a gnome-vfs issue, I think I know what's going on, assigning to myself, I'll deal with it later.
Comment 5 Christian Neumair 2006-04-01 17:28:19 UTC
Created attachment 62557 [details] [review]
Proposed patch

Discussion: http://mail.gnome.org/archives/gnome-vfs-list/2006-April/msg00001.html
Comment 6 Christian Neumair 2006-04-25 11:28:41 UTC
Patch was committed to both HEAD and 2.14 branch. Closing.