summaryrefslogtreecommitdiff
path: root/extras/udev-acl
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2010-01-14 16:12:19 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-01-14 16:12:19 +0100
commit456863e3514d5432e1540c9017731d3e7612e20b (patch)
treeb92cad7b462ca67ba1b6aaa90cb948a04475d6b4 /extras/udev-acl
parent7c34949019720b3865c6d0080ae8c7cfdb313085 (diff)
rules: acl - add COLOR_MEASUREMENT_DEVICE match
Diffstat (limited to 'extras/udev-acl')
-rw-r--r--extras/udev-acl/70-acl.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules
index ab2984c229..78e3ebae53 100644
--- a/extras/udev-acl/70-acl.rules
+++ b/extras/udev-acl/70-acl.rules
@@ -60,6 +60,9 @@ SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ACL_MANAGE}="1"
# smart phones
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c02", ENV{ACL_MANAGE}="1"
+# color measurement devices
+ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}="1"
+
# apply ACL for all locally logged in users
LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"