Hi @siosm, I have the same problem. I am trying to use Thonny in a toolbox to access my Pyboard, but it will not connect to /dev/ttyACM0 due to a permission error. I have tried all the fixes suggested in various tutorials on the net, and your suggestions above, and yet the error persists. At least now, after I did the mods you suggested, the “groups” command shows “ian dialout” whereas before it showed only “ian wheel”. (i seem to have lost “wheel”, not sure what that is anyway).
Inside the toolbox the “ls” command shows the owner and group as nobody and nobody. I’ve tried logging out and in again, and also rebooting the PC, but still Thonny won’t connect to the device.
Is there anything else I can try? Or have I done something wrong?
Many thanks to @siosm and @jakfrost, I have at last gained access to my device through Thonny! It took a fair bit of mucking around but I eventually got there.
I think you are first creating a dialout group from the default group settings for dialout, then adding your user to that group with the second command.