[argyllcms] Re: argyllcms+colord

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 19 Dec 2015 13:31:18 +1100

Frederic Crozat wrote:

Hi,

ACL_MANAGE is no longer used in recent systemd/udev and it is indeed
better to no longer rely on it

Sure, but ArgyllCMS isn't just targeted at recent systems, it is intended
to work on a range of systems, both old and new.

and instead only set
COLOR_MEASUREMENT_DEVICE. The latter is handled by udev/systemd
nicely.

I've changed it to:

ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"

ENV{COLOR_MEASUREMENT_DEVICE}=="*?", MODE="660", GROUP="colord"

since I don't think there is any need for it to be one or the other. On older
systems with ConsoleKit ACL then ACL_MANAGE should work, while systems with
recent 70-uaccess.rules should turn on TAG+="uaccess" when they recognise
COLOR_MEASUREMENT_DEVICE, and as a fallback on any system, being a member
of the colord group should work.

Graeme Gill.

Other related posts: