diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-05 03:09:43 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-05 03:11:04 +0200 |
commit | f2a2983604fa6876fc297c9156b7ad0f04a482e8 (patch) | |
tree | 8d878366406e1584582dfab74c88a164e551d56f /rules/rules.d | |
parent | d971228752cb6f2993f6609c9a07d49037d36806 (diff) |
rules: remove redundant MODE="0664" from lp rules
Diffstat (limited to 'rules/rules.d')
-rw-r--r-- | rules/rules.d/50-udev-default.rules | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index cacb533db8..865d95f41e 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -52,6 +52,7 @@ SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video" # libusb device nodes SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p" # printer KERNEL=="parport[0-9]*", GROUP="lp" @@ -60,10 +61,7 @@ SUBSYSTEM=="ppdev", GROUP="lp" SUBSYSTEM=="usb", KERNEL=="lp*", SYMLINK+="usb%k", GROUP="lp" KERNEL=="lp[0-9]*", GROUP="lp" 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="0664" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701*:", GROUP="lp" # block SUBSYSTEM=="block", GROUP="disk" |