New authorization required for mundane activities
silver.bullet at zoho.com
silver.bullet at zoho.com
Mon Sep 28 02:39:39 UTC 2015
On Sun, 27 Sep 2015 21:37:04 -0400, Tom H wrote:
>I never use flash drives but
>"org.freedesktop.udisks2.filesystem-mount" should allow me to mount
>one without having to supply a password. Are your polkit settings
>different?
There is a typo in my other reply, it should read ...
[root at moonstudio ~]# grep "org.freedesktop.udisks2.filesystem-mount" -A70 /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy | grep -v description | grep -v message
<action id="org.freedesktop.udisks2.filesystem-mount">
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
--
<action id="org.freedesktop.udisks2.filesystem-mount-system">
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
--
<action id="org.freedesktop.udisks2.filesystem-mount-other-seat">
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
<action id="org.freedesktop.udisks2.filesystem-fstab">
[root at moonstudio ~]#
I don't use USB-sticks, but I suspect
<allow_active>yes</allow_active> </defaults>
does the trick, perhaps a "yes" for the other lines of
"<action id="org.freedesktop.udisks2.filesystem-mount">"
is required too.
Regards,
Ralf
More information about the ubuntu-users
mailing list