On May 12, 2019, at 2:51 PM, Gene Heskett wrote:
> 
> On Sunday 12 May 2019 02:41:02 pm Charles Lepple wrote:
> 
>> /lib/nut/usbhid-ups -a myups -DD
> gene@coyote:~$ /lib/nut/usbhid-ups -a myups -DD
> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
> USB communication driver 0.33
> Can't open /etc/nut/ups.conf: Can't open /etc/nut/ups.conf: Permission 
> denied
> lemme see who owns that. huh? amandabackup:nut what the h?  Who is 
> supposed to own it and what perms? chown -R nut:nut nut didn't help

Needs to be readable by user/group nut, so setting the group as you did, plus 
"chmod g+r":

$ ls -l /etc/nut/ups.conf
-rw-r----- 1 root nut 5058 Oct 29  2018 /etc/nut/ups.conf

... although ups.conf for a USB-connected UPS likely doesn't contain anything 
sensitive, so mode 0644 would also be fine.
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to