Skip to content

Commit b41effc

Browse files
committed
Clarify Linux port permission denial FAQ entry
1 parent 361ee94 commit b41effc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bin/arduino-cli

29.4 MB
Binary file not shown.

docs/FAQ.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ when using a serial port, the monitor baud rate can be set to 4800 with the foll
4343

4444
## "Permission denied" error in sketch upload
4545

46-
This can be solved by setting up serial port permission. This can be achieved through the following command:
46+
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:
4747

48-
`$ sudo usermod -a -G dialout <username>`
48+
`$ arduino-cli board list`
4949

50-
Replace `<username>` with your user name. Logging out and logging in again is necessary for the changes to take effect.
50+
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.
51+
52+
`$ sudo usermod -a -G <group> <username>`
5153

5254
## Additional assistance
5355

0 commit comments

Comments
 (0)