From 02131412449250bd68760a53021f0ff06fc1a720 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 16 Dec 2011 23:10:13 +0000 Subject: Set the colorimeter sensor group so the dameon can access the sensor --- rules/69-cd-sensors.rules.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'rules') diff --git a/rules/69-cd-sensors.rules.in b/rules/69-cd-sensors.rules.in index 3a7e896..7188b8b 100644 --- a/rules/69-cd-sensors.rules.in +++ b/rules/69-cd-sensors.rules.in @@ -76,10 +76,7 @@ ENV{COLORD_SENSOR}=="*?", ENV{COLOR_MEASUREMENT_DEVICE}="1" ENV{COLORD_SENSOR}=="*?", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p" ENV{COLORD_SENSOR}=="*?", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{program}="usb-db %p" -# Add daemon user to device acl -# FIXME: this isn't right. We should: -# * create a system group called colord -# * set GROUP="colord" in the line below -ENV{COLORD_SENSOR}=="*?", RUN+="/bin/setfacl -m u:@daemon_user@:rw $env{DEVNAME}" +# Allow the daemon to access the color devices +ENV{COLORD_SENSOR}=="*?", GROUP="@daemon_user@" LABEL="gcm_rules_end" -- cgit v1.2.1