From: Martin Pitt Date: Fri, 19 Jun 2009 12:49:35 +0000 (+0200) Subject: udev-acl: Manage hplip device permissions X-Git-Tag: 174~935^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb20485b407669720ce6fc7bc94de50ec0580b62;p=systemd 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. --- diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index fc270395..26b80556 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"