nesto-software / USBProxy

A USB proxy for rpi 4b, based on libUSB & gadgetFS - maintained by Nesto
GNU General Public License v2.0
43 stars 12 forks source link

Check if running as root #27

Open MartinLoeper opened 3 years ago

MartinLoeper commented 3 years ago

The libusb and gadgetfs access needs root permission. Add a check during start.

MartinLoeper commented 3 years ago

We should add a warning since root is not always necessary if permissions are set up differently to allow non-root device access.