I'm trying to get NUT running. It fails to start because it setuids itself to the nut user and then attempts to open the USB device node, /dev/bus/usb/ 006/001

This fails with EACCESS because:

[root@monster tmp]# ls -al /dev/bus/usb/006/001
crw-rw-r--+ 1 root root 189, 640 Nov 11 13:49 /dev/bus/usb/006/001
[root@monster tmp]# getfacl /dev/bus/usb/006/001
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/006/001
# owner: root
# group: root
user::rw-
group::rw-
group:lirc:rw-
mask::rw-
other::r--

So the ACLs give access to USB devices to the 'lirc' user, and 'nut' can't open this.

Where is this coming from? I don't use lirc any more, I did many years ago, so this must be the leftover from that era. I don't remember how I set it up back then.

Grepping through /etc for anything referencing the 'lirc' user, that might be specifying the ACLs for USB devices, doesn't find anything.

Attachment: pgpRVhTDi_2fD.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to