[argyllcms] Re: udev/ConsoleKit and device permissions under Linux

  • From: Roland Mas <lolando@xxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 27 Jan 2010 09:31:42 +0100

Graeme Gill, 2010-01-27 12:01:33 +1100 :

> Roland Mas wrote:
>
>> In order to handle this scenario, I suggest the following patch:
>
> Hi,
>    thanks for the suggestion. (I did ask about this, but
> was told that it was sufficient to test for /lib/udev/udev-acl.)
>
> Maybe the fallback could be handled like this ?
>
> # Otherwise, restrict access to members of the plugdev group
> ENV{COLOR_MEASUREMENT_DEVICE}=="*?, ENV{ACL_MANAGE}!="*?", MODE="660", 
> GROUP="plugdev"

Indeed, it should work too (with an extra " though), and it's more
elegant too :-)

Roland.
-- 
Roland Mas

Qu'est-ce qui est jaune, qui pèse deux cents kilos et qui chante ?
Un sumotori qui a bu trop de saké.

Other related posts: