When trying to run any dronekit connections to the connection string '/dev/ttyACM0', it would error out and require higher permissions. This could be fixed for every login using 'sudo chmod 666 /dev/ttyACM0' but it needed to be input after every login. The permanent fix run the command:
When trying to run any dronekit connections to the connection string '/dev/ttyACM0', it would error out and require higher permissions. This could be fixed for every login using 'sudo chmod 666 /dev/ttyACM0' but it needed to be input after every login. The permanent fix run the command:
sudo usermod -a -G dialout $USER