Bug#512824: Related to bug #305846?

Aljaž Prusnik prusnik at gmail.com
Sun Mar 8 16:11:22 UTC 2009


On ned, 2009-03-08 at 15:27 +0100, Julien Valroff wrote:
> > I agree with this scenario, but I usually get a weirder scenario: I have
> > 3 users concurrently logged in. I usually log in the first. When I
> > switch back to my session and insert a dvd/cd or a usb key/disk, the
> > owner is usually not me but one of the other two users. That's what I
> > find weird and probably not what was supposed to be. But that, as you
> > said, is an issue of a different bug. 
> I have not experienced this issue, at least with GNOME 2.24.

Ok, I'm glad the next version sorts it out. Will wait a couple of months
and then move to testing.

> This behaviour might be related to the fact that the removable media was
> mounted (and hence owned) by the 2nd or 3rd user. If so, then the fix
> should prevent this from happening as the removable media will only be
> mounted for the active session.

But it isn't. It happens as I described it. I am the active user but the
ownership of the media I inserted in my session was from one of the
non-active users.

> Still one issue though, which should be reported as a separate bug:
> user 1 logs in 
> user 1 inserts a removable media which is automounted
> user 2 logs in
> user 1 logs out
> user 2 is not able to unmount the removable media
> 

That one is also an issue. But with me I also get this one: if the owner
logs out and I return to my session and then insert the media, the owner
can again be the one who is not logged in anymore. I have pretty much
experienced all these scenarios which made me think I was doing
something wrong. But since Windows don't act this way it's probably not
me but the OS - at least that was my perspective of thinking (regardless
of the potential argument that Windows does this wrong).

> I think that when a user logs out, the ownership of the removable media
> should be passed to another logged in user (problem is to know which
> user should get this ownership!)

Or the media should rather be auto-unmounted and left there un-owned
until some other user chooses to mount it (via GUI not the commandline).
If you take your variant then you'll have to make a criteria which of
the let's say 5 still logged in user should get the ownership and what
happens if the original owner returns and wants its media back. :)








More information about the pkg-gnome-maintainers mailing list