diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-09-30 11:10:24 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2009-09-30 11:10:24 +0200 |
commit | 8d12968558873b90e0cfc18b62adcf199592de32 (patch) | |
tree | 99f08f0d5fa713b4410725aa0492242bc7dc4f56 | |
parent | bded570432d7017c47882758b037e77f1ec8e79e (diff) |
make raw USB printer devices world-readable again
Commit f61e72d8 made raw USB printers accessible for the lp group. However,
chmoding them to 0660 is a bit over-zealous, since by default raw USB devices
are world-readable. Not being so breaks lsusb unnecessarily. Now set
permissions to 0664.
-rw-r--r-- | rules/rules.d/50-udev-default.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 79c8e231f4..03f7836e2f 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -67,7 +67,7 @@ KERNEL=="irlpt[0-9]*", GROUP="lp" # hplip and cups 1.4+ use raw USB devices, so permissions should be similar to # the ones from the old usblp kernel module SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p" -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}==":0701*:", GROUP="lp", MODE="660" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}==":0701*:", GROUP="lp", MODE="664" # block SUBSYSTEM=="block", GROUP="disk" |