External media mounts

Stef Bon stef at bononline.nl
Tue Mar 5 10:46:37 PST 2013


On 03/05/2013 05:28 AM, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/04/2013 11:18 PM, Michael Biebl wrote:
>> http://cgit.freedesktop.org/udisks/commit/?id=6ae6c19ad981801d08f3f5b59c0301ed3fe8b7b4
>>
>>   I guess this is not quite what you are asking for, but get's
>> close.
> No, thats just one thing my idea accomplishes as an aside, that I
> mentioned on the last line of my message.  The main thrust is who has
> permission to access the files on the device, rather than the path to
> them.

What you want with the inactive user versus the active one, does not 
work with multiseat.
In that situation more users are active.

With a usb stick connected, there are various situations possible:

a. one user ¨owns¨ the device, and it´s mounted by him/her, others don´t 
have access (mounted at /run/media/$USER somewhere)

b. a device is shared using a public user. (mounted at /media/somewhere)

The suggested solution in the patch above (by introducing the 
UDISKS_FILESYSTEM_SHARED) is a good step to handle these situations.

And when another user wants to own the device, they should agree the 
first should unmount it, and let others have to ability to ¨grap¨ it.

Stef



More information about the devkit-devel mailing list