Problem sharing a USB disk between several users
Andrey Borzenkov
arvidjaar at gmail.com
Sat Mar 1 22:50:29 PST 2014
В Sat, 01 Mar 2014 18:09:30 +0800
Mathieu Bridon <bochecha at fedoraproject.org> пишет:
> Hi,
>
> I have two users on my laptop.
>
> I also have an external USB hard drive, which is almost always plugged
> in. (with documents, videos, etc...)
>
> If I log in (user1), the USB hard drive gets automatically mounted in
> his /run/media/user1/.
>
> But then, when the other user logs in, then the USB hard drive is still
> mounted in /run/media/user1/, and it won't get automatically mounted
> in /run/media/user2/.
>
> As a result, user2 will not be able to access the data on the USB hard
> drive from her session.
>
> Of course, if user2 logs in first, then she gets the hard drive, and
> user1 won't.
>
> Also, this happens whether both users are connected at the same time
> (switch user) or not: if the first user logs out, the second one won't
> get the hard drive mounted either.
>
> This all happens on a fairly up to date Fedora 20, with GNOME 3.10 and
> udisks 2.1.2.
>
> Is that a known issue? Anything that can be done about it?
>
>
With recent enough udisks you can set UDISKS_FILESYSTEM_SHARED property
using udev rule which will cause it to be mounted on /media/... instead
of /run/media/user/...
More information about the devkit-devel
mailing list