removable medias mounted for every user logged

Bug #222643 reported by Chris Coulson
48
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Debian)
Fix Released
Unknown
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Nominated for Hardy by andol123
Nominated for Intrepid by andol123
Nominated for Jaunty by andol123

Bug Description

Binary package hint: gvfs

If I have multiple users logged in to my machine at any one time (using fast-user-switch) - when I plug in a USB drive (or any removable device) or insert a CD, Nautilus opens a window on the desktop of every user logged in. If I unmount and remount the removable device several times (or eject and insert multiple CD's), I get one Nautilus window per mount/unmount (or per CD) appear on all the inactive users desktops.

Unfortunately, because I run the NVIDIA binary drivers, all the Nautilus windows which appear on the inactive users desktop appear white, which can make the desktop virtually unusable when that user switches back to themselves again.

Nautilus should only open a window on the active session.

Steps to reproduce:
1) Log in user A
2) Using fast-user-switch, switch to user B
3) User B inserts a USB pen drive or CD. Nautilus appears.
4) Using fast-user-switch, switch back to user A - there is also a Nautilus window on user A's desktop (or, in my case - a white box)

chr1s@chris-desktop:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

Related branches

Revision history for this message
smarlatt (smarlatt) wrote :

I can confirm this issue on my setup. It is a particular problem when inserting media such as DVDs, since they autoplay on all users simultaneously.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Could you mark it as confirmed then please.

Cheers

smarlatt (smarlatt)
Changed in gvfs:
status: New → Confirmed
Revision history for this message
elsaturnino (elsaturnino-gmail) wrote :

I ran into this oddity today. I thought I was going crazy because I couldn't figure out what program was playing the audio CD I put in.

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

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=545184

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in nautilus:
status: Unknown → New
Revision history for this message
Pausanias (pausanias) wrote :

Is there a workaround? The correct behavior should be that each user should be able to eject the media that they inserted.

Revision history for this message
nadavkav (nadavkav) wrote :

i confirm this behavior for mounting usb camera too.

when i switch to other users (after a session of mounting and unmounting of a usb camera)
 i see "left over" dialogs from the times when i plugged in the camera (on the previous user)
the camera is no longer connected (physically) . actually, they are confused...
when switching to their desktop and faced with those dialogs.

i think, pluggable mounted devices should display auto-mount-dialogs for the current user only.

maybe? another related issue/bug...
if i plug the camera on some user's session and then move to some other user's session
i get dbus error. and when i move back to the first user's session i see the auto-mount-dialog
still open on the desktop.
only when i move through all the open user's sessions on the system and close all the redundant dialogs
i can mount the camera successfully on the user's session.

Revision history for this message
Doughy (doughywilson) wrote :

I can confirm this behavior as well. I'm including a screenshot of a white window that occurred due to mounting an SD card on another session.

Revision history for this message
nadavkav (nadavkav) wrote :

i confirm having the same bug

Revision history for this message
andol123 (andol123) wrote :

I can also confirm this bug. It's bothered for 1.5-2 years.

If someone else is logged in and I mount a cd with porn and unmount it, everyone on this system currently logged in will have a nice window opened when they log in again with thumbnails of all the porn on the cd I had mounted for a short time when they log in.

Revision history for this message
andol123 (andol123) wrote :

Another annoying side effect of this bug is when you want to blank a cd you have to ask all the other users logged in to umount /cdrom so you can blank it. sudo umount /cdrom works of course, but it's still silly. I mounted it, not the other users.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This has now been resolved upstream by adding ConsoleKit support to Nautilus

Changed in nautilus:
status: Triaged → Fix Committed
status: New → Unknown
Changed in nautilus:
status: Unknown → Fix Released
Changed in nautilus:
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:2.25.93-0ubuntu1

---------------
nautilus (1:2.25.93-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    - Use ConsoleKit to make sure we only autorun on active sessions
      (lp: #222643)
    - Never show unmount if we show an eject menu item
    - Show the gvfs reported owner/group names (lp: #307530)
    - Don't allow changing default app for folders
    - Fix "can't unmount same location twice" bug
    - Don't write translated icon names (lp: #336679)
    - Really fix crasher on renaming (lp: #321359)
    - Correctly store geometry (lp: #326276)
    - Correctly recognize desktop files which have comments (lp: #337408)

 -- Sebastien Bacher <email address hidden> Wed, 11 Mar 2009 11:43:58 +0100

Changed in nautilus:
status: Fix Committed → Fix Released
Revision history for this message
gmc (maltacastro) wrote :

Will the fix be released for 8.04?

Revision history for this message
andol123 (andol123) wrote :

It's not fixed. It just happened again today on freshly installed Ubuntu 9.10.

Two users were logged in, UserA and UserB.. UserA being the active one.
Mounted a CD while logged in as UserA, tried to unmount only to find out that it was owned/mounted by UserB.

Revision history for this message
andy7d0 (andy7d0) wrote :

and it' happend in Debian Squeeze too now

Changed in nautilus:
importance: Unknown → Medium
Changed in nautilus (Debian):
status: Confirmed → 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.