Comment 30 for bug 195782

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 195782] Re: Users not automatically added to "scanner" group: No scanning functions of HP multi-function in Hardy

Hi Johannes,

Johannes Meixner [2008-03-27 11:04 -0000]:
> We use hal-resmgr to grant read/write access permissions
> for USB scanners only for those users who are logged in locally
> (i.e. via console od XDM/KDM) i.e. those users who sit in front
> of the computer where the USB scanner is connected to.

Ah, we have something similar. hal and ConsoleKit upstream now offer
dynamic ACL management on device nodes, which we are using.

> Unfortunalely HAL may still not notice changed fdi files
> during runtime of HAL, see
> https://bugzilla.novell.com/show_bug.cgi?id=218393#c28
> so that it is crucial to have the fdi file in place
> before the system boots (i.e. before HAL starts)

That should be working well with current hal (0.5.11RC2). It has an
inotify watch on /usr/share/hal/fdi/ and /etc/hal/fdi and reloads the
files if anything changes.