Skip to content

Commit

Permalink
Add "permission denied" FAQ entry (#2564)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyJ80 authored Mar 18, 2024
1 parent 752709a commit 6a45713
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ when using a serial port, the monitor baud rate can be set to 4800 with the foll

`$ arduino-cli monitor -p <port> --config baudrate=4800`

## "Permission denied" error in sketch upload

This problem might happen on some Linux systems, and can be solved by setting up serial port permissions. First, search
for the port your board is connected to, with the command:

`$ arduino-cli board list`

Then add your user to the group with the following command, replacing `<username>` with your username and `<group>` with
your group name. Logging out and in again is necessary for the changes to take effect.

`$ sudo usermod -a -G <group> <username>`

## Additional assistance

If your question wasn't answered, feel free to ask on [Arduino CLI's forum board][1].
Expand Down

0 comments on commit 6a45713

Please sign in to comment.