HAL methods at storage device level, to mount/unmount/eject volumes

David Zeuthen david at fubar.dk
Thu Dec 8 14:16:21 PST 2005


On Thu, 2005-12-08 at 12:09 -0800, Artem Kachitchkine wrote:
> >   <policy context="default">
> >     <deny send_interface="org.freedesktop.Hal.Device.Volume"/>
> >   </policy>
> >   <policy at_console="true">
> >     <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
> >   </policy>
> 
> OK, so this seems to limit access to a D-BUS interface. What about 
> methods? Is there a way to e.g. allow Mount()/Unmount(), but deny Format()?

I think (but haven't checked) that this was added to D-BUS rather
recently - asking on dbus at freedesktop.org is probably a good idea. FWIW,
I know for a fact that this wasn't possible some time ago.

Cheers,
David




More information about the hal mailing list