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

John (J5) Palmieri johnp at redhat.com
Thu Dec 8 19:48:55 PST 2005


I'm not sure if we ever added method rules but you can restrict on
interfaces so the best thing to do is to group functionality by
interfaces.

On Thu, 2005-12-08 at 17:16 -0500, David Zeuthen wrote:
> 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
> 
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the hal mailing list