When I right-click an existing volume in nautilus and try to mount it, I get this error in a dialogue box:

Cannot mount volume.

Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy.

org.freedesktop.hal.storage.mount-fixed
auth_admin_keep_always <— (action, result)

I googled around a bit and created a quick’n’dirty configuration change to /etc/PolicyKit/PolicyKit.conf that gives me feature parity with fl:1.4.1, where I can mount and unmount all volumes:

(inside <config> … <config/> block):

<match user=”ermo”>
<match action=”org.freedesktop.hal.storage.*”>
<return result=”yes”/>
</match>
</match>

While it works for me, this solution is probably not optimal. We should probably think about what operations we want to allow and add them when creating a new user (or perhaps a gui exists for maintaining this?). I’m new to HAL and PolicyKit, so there might exist an obvious solution that I don’t know about yet

Source

This lil tweak worked for me, I had trouble accessing the 160GB SATA disk on the desktop prior to this.

SHARE

2 COMMENTS

LEAVE A REPLY