Eject button present even when the user does not have the rights to unmount

Bug #385571 reported by Guillaume Pratte
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: nautilus

When using a loop back mount point or when having another user mounting a device, the eject button is shown in Nautilus even if the user does not have the rights to use the button (to eject the device/mount point).

To reproduce :

sudo mkdir /media/cdrom
sudo mount -o loop jaunty.iso /media/cdrom

Try to eject the mounted device in Nautilus. An error message is printed.

Revision history for this message
Stéphane Graber (stgraber) wrote :

I can confirm this bug. It also affects all LTSP deployments where we have the USB keys and CDROM mounted using fuse (ltspfs) over the network. The user doesn't have the right to unmount them directly and so the eject button fails.

Changed in nautilus (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, what ubuntu version do you use?

Changed in nautilus (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Medium → Low
status: Triaged → Incomplete
Revision history for this message
Guillaume Pratte (guillaumepratte) wrote :

Jaunty. We will try to reproduce in Karmic also.

Revision history for this message
Stéphane Graber (stgraber) wrote :

My tests were done with Karmic.

Changed in nautilus (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

Stephane, could you stop setting bugs to triaged if they have not been sent upstream yet? That bug is just confirmed

Changed in nautilus (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Changed in nautilus:
importance: Undecided → Unknown
status: New → Unknown
Changed in nautilus:
status: Unknown → New
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

A very old patch to solve this issue for LTSP mounts is located at http://people.canonical.com/~ogra/95_suppress_umount_in_ltsp.patch and was provided by Oliver Grawert in the duplicate bug #107523

Maybe it could form the base of a newer patch to solve this issue.

Changed in nautilus:
importance: Unknown → Medium
Changed in nautilus:
status: New → Fix Released
Changed in nautilus (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is fixed in the current version (which asks for an admin password to eject)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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