Switch user incompatible with automatic mounting of media?
Jack Dodds <brmdamon <at> aci.on.ca>
2009-01-01 17:18:09 GMT
I am using Debian Lenny (Testing) with multiple users. The automatic
mounting of media and SD cards is creating problems. Is there a
solution, or should this be filed as a bug or suggestion? I have
searched the Gnome Bugzilla and have not found anything like it.
Usually there are three users signed on, created using the System - Log
Out - Switch User menu item. We switch back and forth using that menu
item, or more often with <Ctrl><Alt>F7, F8, or F9.
The system has a USB memory card interface.
By default at install time, in System - Preferences - Removable Drives
and Media, the options "Mount removable drives when inserted", "Mount
removable drives when hot-plugged", and "Browse removable media when
inserted" are enabled for all users.
If three users are logged in, and an SD card is inserted in the USB
interface, the system mounts the SD card. However, the "owner" of the
mounted volume can be any one of the users who is logged in. If the
"owner" is not the active user (i.e. the one whose desktop is displayed
and is actually using the system) then the active user can't write to
the SD since he doesn't own it. Nor can he unmount the SD card! Since
the other user's screens may be locked, he can't switch to their
desktops to unmount either!
Not only that, a Nautilus window for the SD card appears on the desktop
of all the users who are logged in. If the SD card is unmounted, the
window remains, but its content goes up a level in the directory
hierarchy. If the SD card is inserted and unmounted multiple times, the