2009-08-06 13:21:22 +00:00
|
|
|
# Allow the lp group to read and write raw USB devices for printers.
|
|
|
|
# This is required for the CUPS usb backend when built with libusb
|
|
|
|
# support.
|
|
|
|
ACTION=="add", SUBSYSTEM=="usb", \
|
|
|
|
ATTR{bInterfaceClass}=="07", ATTR{bInterfaceSubClass}=="01", \
|
2009-08-10 14:14:08 +00:00
|
|
|
RUN+="/usr/bin/setfacl -m g:lp:rw /dev/%P"
|