diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-06-19 14:49:35 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-06-19 14:49:35 +0200 |
commit | eb20485b407669720ce6fc7bc94de50ec0580b62 (patch) | |
tree | 19382c680b67cde181691d629189bdff386e0504 /extras/udev-acl | |
parent | 8fac66c9d4045215d061ad73c3916937370c7c8e (diff) |
udev-acl: Manage hplip device permissions
hplip tools need user access to the devices for checking ink levels and
user-level configuration. This was formerly done with hal FDIs.
As per discussion with Till Kamppeter.
Diffstat (limited to 'extras/udev-acl')
-rw-r--r-- | extras/udev-acl/70-acl.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index fc27039597..26b805565a 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -17,6 +17,9 @@ KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP|EPSON|Epson", ENV{ACL_M # USB scanners ENV{libsane_matched}=="yes", ENV{ACL_MANAGE}="1" +# HPLIP devices (necessary for ink level check and HP tool maintenance) +ENV{ID_HPLIP}=="1", ENV{ACL_MANAGE}="1" + # optical drives SUBSYSTEM=="block", ENV{ID_CDROM}=="1", ENV{ACL_MANAGE}="1" |