Nautilus/Files UI requires sudo access to unmount a disk that can be unmounted successfully without sudo using command line

Bug #1852844 reported by Sergey Ushakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GLib
Fix Released
Unknown
udisks
Fix Released
Unknown
udisks2 (Ubuntu)
Fix Committed
Low
Unassigned

Bug Description

An external disk device is declared in '/etc/fstab' with 'auto,nofail,users' options:
UUID=aa083302-...-b66c0715eaf1 /media/ushakov/TOSHIBA_SYSTEM ext4 nodev,nosuid,auto,nofail,users 0 2

It is then successfully mounted automatically upon being connected.

It can further be unmounted successfully without `sudo` from command line, e.g.: `umount $mount_point`.

Meanwhile an attempt to unmount this device from Nautilus/Files UI results in an "Authentication Required" message: "Authentication is required to unmount External USB3.0 (/dev/sdc3) mounted by another user".

The expected Nautilus/Files UI behavior would be that the disk device is unmounted silently or just with an non-intrusive notification upon a click on the "Unmount" button near the device label.

Package suspected: nautilus:
nautilus/bionic-updates,now 1:3.26.4-0~ubuntu18.04.4 amd64 [installed,automatic]

$ lsb_release -rd
Description: Ubuntu 18.04.3 LTS
Release: 18.04

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nautilus 1:3.26.4-0~ubuntu18.04.4
ProcVersionSignature: Ubuntu 5.0.0-35.38~18.04.1-generic 5.0.21
Uname: Linux 5.0.0-35-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 16 09:50:54 2019
GsettingsChanges:
 b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'"
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'394'
 b'org.gnome.nautilus.window-state' b'geometry' b"'1279x749+193+153'"
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'owner', 'group', 'permissions', 'mime_type', 'where', 'date_modified', 'date_modified_with_time', 'date_accessed', 'recency']"
InstallationDate: Installed on 2019-10-15 (32 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:

Revision history for this message
Sergey Ushakov (s-n-ushakov) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. That looks like an upstream issue, could you report it there https://gitlab.gnome.org/GNOME/nautilus ?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sergey Ushakov (s-n-ushakov) wrote :

Thank you Sebatien for looking into that.

The GNOME bug is filed as https://gitlab.gnome.org/GNOME/nautilus/issues/1293 .

Revision history for this message
Sergey Ushakov (s-n-ushakov) wrote :
Revision history for this message
Sergey Ushakov (s-n-ushakov) wrote :

Update: the issue at GNOME repository was re-classified from nautilus-related to glib-related: https://gitlab.gnome.org/GNOME/glib/issues/1942 .

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks

affects: nautilus (Ubuntu) → glib2.0 (Ubuntu)
Changed in glib2.0 (Ubuntu):
status: New → Triaged
Changed in glib:
status: Unknown → New
Revision history for this message
Sergey Ushakov (s-n-ushakov) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, reassigning

affects: glib2.0 (Ubuntu) → udisks2 (Ubuntu)
Changed in udisks:
status: Unknown → New
Changed in glib:
status: New → Fix Released
Changed in udisks:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Udisk upstream fixed it in this commit
https://github.com/storaged-project/udisks/pull/710

Thanks again for upstream the problem and helping driving it to resolution! It should we fixed in the new udisk update (and then maybe we can consider doing a SRU to the LTS)

Changed in udisks2 (Ubuntu):
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.