Bug#512824: Related to bug #305846?
Julien Valroff
julien at kirya.net
Sun Mar 8 16:24:39 UTC 2009
Le dimanche 08 mars 2009 à 17:11 +0100, Aljaž Prusnik a écrit :
> 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.
Yes, I understood it well, what I meant is that before the fix, it could
be that the 2nd user mounted the removable media even though the session
was not active (just a guess though)
> > 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).
Windows seems however to behave wrong in terms of removable media, as
far as I have tested at work. Every user logged in as the control of the
removable media, which can be problematic, as per my earlier example.
> > 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. :)
No, it can't be unmounted: the second user, still logged in, could have
files open on the removable media!
Julien
--
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
Rejoignez maintenant plus de 4 000 personnes, associations, entreprises
et collectivités qui soutiennent notre action
More information about the pkg-gnome-maintainers
mailing list