Skip to content

Commit 6a45713

Browse files
authored
Add "permission denied" FAQ entry (#2564)
1 parent 752709a commit 6a45713

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: docs/FAQ.md

+12
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ 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 problem might happen on some Linux systems, and can be solved by setting up serial port permissions. First, search
47+
for the port your board is connected to, with the command:
48+
49+
`$ arduino-cli board list`
50+
51+
Then add your user to the group with the following command, replacing `<username>` with your username and `<group>` with
52+
your group name. Logging out and in again is necessary for the changes to take effect.
53+
54+
`$ sudo usermod -a -G <group> <username>`
55+
4456
## Additional assistance
4557

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

0 commit comments

Comments
 (0)