nickbeth / wsl-usb-manager

A fast and light GUI for usbipd-win. Manage connecting USB devices to WSL.
MIT License
34 stars 4 forks source link

Linux Permissions upon attaching #10

Open KampfCaspar opened 2 weeks ago

KampfCaspar commented 2 weeks ago

While the commandline windows usbipd attaches a serial device (correctly) with permissions for group 20 (dialout), using the gui it gets attached with group 18 (not found).

As there seems to be logic on the windows side involved - where does the group id get defined?

nickbeth commented 2 weeks ago

I'm unsure why this would happen, but it's likely the permission level of the app affects the processes it spawns, hence the usbipd commands that are run under the hood. I'm honestly unsure how to fix this, maybe usbipd allows to specify the user group that is mounted with?