[Nut-upsuser] APC Back-UPS XS 1200 - permission denied

2007-01-18 Thread Kevin DeGraaf
I have a new APC Back-UPS XS 1200. It is detected properly by the Linux kernel (2.6.16): # dmesg usb 5-3.4: new low speed USB device using ehci_hcd and address 9 usb 5-3.4: new device found, idVendor=051d, idProduct=0002 usb 5-3.4: new device strings: Mfr=3, Product=1, SerialNumber=2 usb 5-3.4:

Re: [Nut-upsuser] APC Back-UPS XS 1200 - permission denied

2007-01-18 Thread Peter Selinger
If you run newhidups with -u root, then you have to run upsd -u root as well. If you run newhidups without -u root, then it runs as the user specified by the ./configure --with-user option, or by the ups.conf user option (i.e. upsd in your case). It looks like crw-r--r-- 1 upsd root 189, 520