Permission denied

When I build may new version of an Arduino program Im getting a Permission denied error. If I do a “$ sudo platformio run” It will build fine? I havent changed any of the permissions on the folder.

Please remove these folders (maybe you will need sudo)

  • .pioenvs folder from your project
  • ~/.platformio

Now, DO NOT USE SUDO for PIO Core.

Ill try that thanks.