gpt4 book ai didi

"Permission denied: '/dev/ttyUSB0'" despite being already a member of 'dialout'(“权限被拒绝:‘/dev/ttyUSB0’”,尽管您已经是“拨号”的成员。)

翻译 作者:bug小助手 更新时间:2023-10-26 22:13:52 27 4
gpt4 key购买 nike



I am trying to connect an EPS WROOM 32 board to my computer and compiling some example of ESP-IDF projects provided from the main website.

我正在尝试将EPS WRoom 32板连接到我的计算机上,并编译从主网站提供的ESP-IDF项目的一些示例。



However, I always get this error message:

但是,我总是收到这样的错误消息:




[Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'




And when I try to add my username to the dialout group, I get this message:

当我尝试将我的用户名添加到拨出组时,我收到以下消息:



The user `myusername' is already a member of `dialout'


How can I fix this problem?

我如何解决这个问题?


更多回答

Did you logout and login after changing your user group, this might sound silly if you already did this, but it's frequently forgotten.

您是否在更改用户组后注销并登录,如果您已经这样做了,这可能听起来很愚蠢,但它经常被忘记。

That was really the Problem XD thanks for saving my day!

这真的是问题所在,XD,谢谢你救了我一天!

@Ferrybig It would be better if one of you added this as an answer.

@FerryBig如果你们中的一个人加上这个作为答案会更好。

优秀答案推荐

Reboot your computer. Or log out and log back in.

重新启动您的计算机。或者注销,然后重新登录。


更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com