Le 28/05/16 à 19:48, Laurent Bigonville a écrit :
On Sat, 28 May 2016 15:29:43 +0200 Laurent Bigonville
<[email protected]> wrote:
> Hi,
>
> When trying to mount an iso file with gnome-disk-image-mounter, I get
> the following error 'Not authorized to perform operation'.
>
> This seems to be related to polkit
>
> I'm using systemd --user session
OK so apparently it's a problem with polkit from experimental.
On my laptop running the version from unstable it's working fine
root@fornost:~# G_MESSAGES_DEBUG=all /usr/lib/polkit-1/polkitd --replace
Successfully changed to user polkitd
19:49:33.167: Loading rules from directory /etc/polkit-1/rules.d
19:49:33.167: Loading rules from directory /usr/share/polkit-1/rules.d
19:49:33.168: Finished loading, compiling and executing 9 rules
Entering main event loop
Connected to the system bus
19:49:33.169: Acquired the name org.freedesktop.PolicyKit1 on the system bus
** (polkitd:14093): DEBUG: system-bus-name::1.9976 is inquiring whether
system-bus-name::1.10595 is authorized for
org.freedesktop.udisks2.loop-setup
** (polkitd:14093): DEBUG: user of caller is unix-user:root
** (polkitd:14093): DEBUG: user of subject is unix-user:bigon
** (polkitd:14093): DEBUG: checking whether system-bus-name::1.10595 is
authorized for org.freedesktop.udisks2.loop-setup
** (polkitd:14093): DEBUG: (nil)
** (polkitd:14093): DEBUG: challenge (implicit_authorization = auth_admin)
** (polkitd:14093): DEBUG: