I need to add myself to the dialout group for the Arduino IDE flatpak to be able to upload code to my micro-controller which is connected via USB.
$ ls -lah /dev/ttyACM0 crw-rw----. 1 root dialout 166, 0 Oct 25 12:34 ttyACM0
I have tried running this command as root:
grep -E '^dialout:' /usr/lib/group >> /etc/group
and then running this command.
useradd -aG dialout $USER
But, that last command does not add my user to the
When I run
groups I still only see my username and
I have also tried logging out and back in after running
useradd but that doesn’t see to do anything.
This post is related to my other one here: Arduino IDE Flatpak Permission Error