Skip to content

Commit

Permalink
Update Permission denied error on linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
OrhanYigitDurmaz committed Jun 21, 2024
1 parent 12ffe07 commit 824d047
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions esptool/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ def __init__(self, port=DEFAULT_PORT, baud=ESP_ROM_BAUD, trace_enabled=False):
[ # permission denied error
re.compile(r"Permission denied", re.IGNORECASE),
(
"Try to add user into dialout group: "
"sudo usermod -a -G dialout $USER"
"Try to add user into a group that has serial port permissions: "
"Ubuntu and ubuntu-based: sudo usermod -a -G dialout $USER"
"Arch: sudo usermod -a -G uucp $USER"
),
],
)
Expand Down

0 comments on commit 824d047

Please sign in to comment.