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 594798 - Cancelling the credentials dialog (e.g. FTP or SFTP) results in permissions denied error
Cancelling the credentials dialog (e.g. FTP or SFTP) results in permissions d...
Status: RESOLVED DUPLICATE of bug 594495
Product: gvfs
Classification: Core
Component: general
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-09-10 19:44 UTC by Jannis Pohlmann
Modified: 2009-10-29 13:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jannis Pohlmann 2009-09-10 19:44:29 UTC
When cancelling the login dialog of an FTP or SFTP connection obtained via GIO (using GtkMountOperation), this results in a G_IO_ERROR_PERMISSION_DENIED (error code 14) instead of G_IO_ERROR_CANCELLED which I would have expected. 

This is particularly annoying of the returned error is displayed to the user (in this case in the Thunar file manager) even though the operation was cancelled on purpose. The error message is "Password dialog cancelled." which suggests that the error code should be G_IO_ERROR_CANCELLED as well.

Tested against GVfs 1.3.6.
Comment 1 Benjamin Otte (Company) 2009-10-29 13:52:04 UTC
I think this is pretty much equivalent to bug 594495, so i'm marking this a duplicate.

*** This bug has been marked as a duplicate of bug 594495 ***