I am having issues uploading to my Arduino from the IDE on Ubuntu 18.04. The error message I have received is:
Arduino: 1.6.10 (Linux), Board: "Arduino/Genuino Uno" avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied
I have checked other questions similiar to this one and have tried adding myself to the dialout group running:
sudo usermod -a -G dialout username
and added permission to write:
sudo chmod a+rw /dev/ttyUSB0
After, when I run:
ls -l /dev/ttyUSB0
I get:
crw-rw-rw- 1 username dialout 188, 0 jūl 2 16:09 /dev/ttyUSB0
However,I still get the same error message from the IDE.
Any help would be greatly appreciated!