diff --git a/docs/FAQ.md b/docs/FAQ.md index c9eacaa70c5..f52e8d2b9d4 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -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 --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 `` with your username and `` with +your group name. Logging out and in again is necessary for the changes to take effect. + +`$ sudo usermod -a -G ` + ## Additional assistance If your question wasn't answered, feel free to ask on [Arduino CLI's forum board][1].