tags 396704 + patch thanks Hi,
Attached is the diff for my nut 2.0.4-2.2 NMU.
diff -Nru /tmp/LRfH3vNJyo/nut-2.0.4/debian/changelog /tmp/xC08KP7paL/nut-2.0.4/debian/changelog --- /tmp/LRfH3vNJyo/nut-2.0.4/debian/changelog 2006-11-16 15:46:23.000000000 +0100 +++ /tmp/xC08KP7paL/nut-2.0.4/debian/changelog 2006-11-16 15:46:23.000000000 +0100 @@ -1,3 +1,12 @@ +nut (2.0.4-2.2) unstable; urgency=high + + * Non-maintainer upload. + * In the udev script, replace the RUN actions by MODE and GROUP actions, as + per suggestion from the maintainer; should fix permission issues. + (Closes: #396704) + + -- Steinar H. Gunderson <[EMAIL PROTECTED]> Thu, 16 Nov 2006 15:38:43 +0100 + nut (2.0.4-2.1) unstable; urgency=low * NMU diff -Nru /tmp/LRfH3vNJyo/nut-2.0.4/debian/nut-usbups.rules /tmp/xC08KP7paL/nut-2.0.4/debian/nut-usbups.rules --- /tmp/LRfH3vNJyo/nut-2.0.4/debian/nut-usbups.rules 2006-11-16 15:46:23.000000000 +0100 +++ /tmp/xC08KP7paL/nut-2.0.4/debian/nut-usbups.rules 2006-11-16 15:46:23.000000000 +0100 @@ -4,17 +4,17 @@ SUBSYSTEM!="usb_device", GOTO="nut-usbups_rules_end" # MGE UPS SYSTEMS - usbhid-ups -SYSFS{idVendor}=="0463", SYSFS{idProduct}=="ffff", RUN+="/etc/hotplug/usb/libhidups" -SYSFS{idVendor}=="0463", SYSFS{idProduct}=="0001", RUN+="/etc/hotplug/usb/libhidups" +SYSFS{idVendor}=="0463", SYSFS{idProduct}=="ffff", MODE="664", GROUP="nut" +SYSFS{idVendor}=="0463", SYSFS{idProduct}=="0001", MODE="664", GROUP="nut" # APC - usbhid-ups -SYSFS{idVendor}=="051d", SYSFS{idProduct}=="0002", RUN+="/etc/hotplug/usb/libhidups" +SYSFS{idVendor}=="051d", SYSFS{idProduct}=="0002", MODE="664", GROUP="nut" # Powerware - bcmxcp_usb -SYSFS{idVendor}=="0592", SYSFS{idProduct}=="0002", RUN+="/etc/hotplug/usb/libhidups" +SYSFS{idVendor}=="0592", SYSFS{idProduct}=="0002", MODE="664", GROUP="nut" # Tripp Lite - tripplite_usb -SYSFS{idVendor}=="09ae", SYSFS{idProduct}=="0001", RUN+="/etc/hotplug/usb/libhidups" +SYSFS{idVendor}=="09ae", SYSFS{idProduct}=="0001", MODE="664", GROUP="nut" LABEL="nut-usbups_rules_end"