Upload failure due to permission denial

Hi @moecat. This "Permission denied" error can occur if your Linux user has not been added to the dialout group. I'll provide instructions you can follow to add your user to this group:

  1. Open a command line terminal.
  2. Type the following command:
    sudo usermod -a -G dialout "$USER"
    
  3. Log out of your Linux account.
  4. Log back in to your Linux account.

Now try uploading the sketch to your Arduino board again, just as you did before. Hopefully the "Permission denied" error will no longer occur.

1 Like