on HAL and enforcing system policies

Mathieu GELI mathieu.geli at gmail.com
Tue Jan 22 07:08:05 PST 2008

Hi there,

I'm trying to enforce the following system policy : "read-only mount
every removable media."
I initaly thought about volume.policy.* to be the right place and
after some trial and error found that it is deprecated.
($ grep -A2 libhal_volume_policy_get_mount_options

sums it up pretty well.
Actually the answer there does not satisfy my needs as I'm looking for
a system-wide
policy, not an user based.

Is PolicyKit of any use for such need ?

Looking forward to your comments.


More information about the hal mailing list