[argyllcms] Re: argyllcms+colord
- From: Frederic Crozat <fred@xxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Fri, 18 Dec 2015 14:40:33 +0100
2015-12-17 23:42 GMT+01:00 Graeme Gill <graeme@xxxxxxxxxxxxx>:
Frederic Crozat wrote:
Please don't, it will only make things much more difficults for most
distributions which are up to date on permissions
handling to devices. This is a deficiency of Slackware, they have to
update / fix their stack.
OK.
Another option may be to remove the ENV{ACL_MANAGE}!="*?" condition from
the rule that puts all the COLOR_MEASUREMENT_DEVICE devices in the colord
group ? Would that be a better fallback ?
There are currently two rules which can be discussed:
# Let udev-acl manage these devices, if it's available
TEST=="/var/run/ConsoleKit/database",
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"
This one will do nothing on recent systems.
# Otherwise, restrict access to members of the colord group,
# which the user may have to add to the system and add themselves to.
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?",
MODE="660", GROUP="colord"
ACL_MANAGE is no longer used in recent systemd/udev and it is indeed
better to no longer rely on it and instead only set
COLOR_MEASUREMENT_DEVICE. The latter is handled by udev/systemd
nicely.
--
Frederic Crozat
Other related posts: