Skip to content

Commit 361ee94

Browse files
authored
Add "permission denied" FAQ entry
Given the 50+ results for this "permission denied" error when uploading a sketch to the board in the forum, this entry was added to the FAQ. This might be desirable to have in an easily accessible page given it's a necessary step to take to get started with the microcontroller.
1 parent 752709a commit 361ee94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: docs/FAQ.md

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ when using a serial port, the monitor baud rate can be set to 4800 with the foll
4141

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

44+
## "Permission denied" error in sketch upload
45+
46+
This can be solved by setting up serial port permission. This can be achieved through the following command:
47+
48+
`$ sudo usermod -a -G dialout <username>`
49+
50+
Replace `<username>` with your user name. Logging out and logging in again is necessary for the changes to take effect.
51+
4452
## Additional assistance
4553

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

0 commit comments

Comments
 (0)