Commit b3a691c
authored
[devcontainer] Add vscode user to dialout group (project-chip#72208)
Ensures the vscode user can access serial devices inside the container.
Without membership in the dialout group, flashing ESP32 targets fails:
$ idf.py -p /dev/ttyACM0 flash
Error: Invalid value for '-p' / '--port': Path '/dev/ttyACM0' is not readable.
Device permissions confirm the issue:
$ ls -l /dev/ttyACM0
crw-rw---- 1 root dialout ...
And the vscode user is not a member of dialout:
$ groups
vscode sudo docker
Adding the user to the dialout group resolves the flashing failure.
Signed-off-by: Martin Flaska <martin.flaska@legrand-ext.com>1 parent 5a0d516 commit b3a691c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments