NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/55349 (/dev/ugen* requires root access, so packages like ham/rtl-sdr have to be run as root)



The following reply was made to PR kern/55349; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, pkg-manager%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, maya%NetBSD.org@localhost,
    cmhanson%eschatologist.net@localhost
Subject: re: kern/55349 (/dev/ugen* requires root access, so packages like ham/rtl-sdr have to be run as root)
Date: Thu, 15 Oct 2020 17:21:26 +1100

 they don't have to be run by root, you can adjust the permissions
 on /dev/ugen* to match your requirements.
 
 it's pretty annoying since the naming is not great, and you have
 to either hard code your kernel ugenN or hope they don't renumber.
 
 i run ups-nut-usb as 'nut' user/group, with those device nodes
 group 'nut' read-write.
 
 
 this is still a pain and we should be able to do better, but it
 doesn't have to mean running as root.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index