org.freedesktop.Hal.Device.PermissionDeniedByPolicyとかってエラーが出る。
/etc/PolicyKit/PolicyKit.conf に以下の記述を追加
<config version="0.1">
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options"> <!-- for internal devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options"> <!-- for external devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
</config>
それで、
> sudo /etc/init.d/haldaemon restart
0 件のコメント:
コメントを投稿