I'm just learning Arduino/ESP32 stuff and my development laptop is a Chromebook running GalliumOS. I ran into an issue where I would try to upload a sketch and in the many lines of errors I would get:
Code: Select all
arduino [Errno 13] Permission denied: '/dev/ttyUSB0'
Ultimately, what fixed the problem was running
Code: Select all
sudo chmod a+rw /dev/ttyUSB0
I realize it's a total n00b issue, but it had me scratching my head for a while and hopefully it will help someone else who is new to this Arduino stuff.