You are not logged in.
the /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy says:
<action id="org.freedesktop.hal.storage.mount-removable">
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
but the defaults settings (allow_active) seems not effect. I have to copy it to /etc/PolicyKit/PolicyKit.conf. So what is the difference between org.freedesktop.hal.storage.policy and PolicyKit.conf?
Last edited by jackphil (2009-09-01 05:26:45)
Offline
Hello Jackphil!
Does ConsoleKit or ck-launch-session help you in policy problem(s)?
Offline
Thats sort of a "known problem" due to a recent change in whatever-kit.
Most users were unable to mount removable drives or shutdown/reboot their pcs after the update. A quick and somewhat insecure "fix" (if you have more than on user in your machine) is to put this inside /etc/PolicyKit/PolicyKit.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.*">
<return result="yes"/>
</match>
</config>
Search a bit in the forums and you will find more about this I'm sure.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
to djszapi: ck-launch-session works fine, thanks
Offline