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 522449 - issues with opening an ftp bookmark
issues with opening an ftp bookmark
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] GIO
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 522450 522913 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-14 16:27 UTC by Matthias Clasen
Modified: 2008-03-18 09:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2008-03-14 16:27:29 UTC
I select a bookmark for an anonymous ftp server from the panel menu.

I correct the password dialog to connect anonymously, and press connect.

Result: an error dialog saying:

 
Can't display location "ftp://anonymous@ftp.gtk.org/"

Unable to mount the location.


But, looking at the desktop, the location _has_ been mounted, and an icon has appeared on the desktop for it. Opening that works just fine.
Comment 1 Cosimo Cecchi 2008-03-15 12:58:38 UTC
-> GIO.

Confirming and CC-ing Benjamin.
Comment 2 Benjamin Otte (Company) 2008-03-15 13:08:36 UTC
This is a general problem with the way URLs are canonicalized (for lack of a better word) by the backends. If someone goes to ftp://alex@host and then enters "gicmo" as his username, we want the mount to refer to ftp://gicmo@host and not ftp://alex@host. But afaics Nautilus assumes that if it mounts ftp://alex@host that an identical host url is mounted.

The same issue exists for SFTP at least, but probably other backends, too.

I have no idea how best to solve that problem.

Comment 3 Benjamin Otte (Company) 2008-03-15 13:09:20 UTC
*** Bug 522450 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Larsson 2008-03-17 14:57:28 UTC
2008-03-17  Alexander Larsson  <alexl@redhat.com>

	* daemon/gvfsbackendftp.c (do_mount):
	Correctly handle username in mountspec. Only set it if
	it was in the requested mountspec (and only to that value).
	Fixes #522449
Comment 5 Cosimo Cecchi 2008-03-18 09:36:18 UTC
*** Bug 522913 has been marked as a duplicate of this bug. ***