diff options
author | Richard Hughes <richard@hughsie.com> | 2011-12-16 23:10:13 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-12-16 23:10:13 +0000 |
commit | 02131412449250bd68760a53021f0ff06fc1a720 (patch) | |
tree | edc42b6855556ecc32261ea4c728cd67a23e3ac7 /rules | |
parent | 553d9a07cf18656a2ba4c6efcf51e486f55f2639 (diff) | |
download | colord-02131412449250bd68760a53021f0ff06fc1a720.tar.gz |
Set the colorimeter sensor group so the dameon can access the sensor
Diffstat (limited to 'rules')
-rw-r--r-- | rules/69-cd-sensors.rules.in | 7 |
1 files changed, 2 insertions, 5 deletions
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" |