GNOME Bugzilla – Bug 638375
Cancelling authentication when mounting volumes shouldn't trigger an error message
Last modified: 2021-06-18 15:15:17 UTC
I have one NTFS partition which appears automatically in "Places" menu. When I select it, it asks for my sudo password. If I click CANCEL in this password dialog, then I get a message box that says "Authentication failure". If I try to enter a password and get it wrong, then some sort of message box or similar is of course needed, but if I press CANCEL the password dialog should just go away and no further errors should be displayed. Screenshots: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/543042/+attachment/1214653/+files/AuthenticateNTFS.png https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/543042/+attachment/1214654/+files/Screenshot-Error.png The likely explanation is that either Nautilus is not handling G_IO_ERROR_CANCELLED correctly, or gvfs/GIO itself doesn't redirects POLKIT_ERROR_CANCELLED to G_IO_ERROR_CANCELLED. (There's also the possibility that G_IO_ERROR_FAILED_HANDLED is returned, I'm not sure.) This is with Nautilus 2.32.0 on Ubuntu 10.10. Original bug report: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/543042
*** Bug 679552 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.