通过修改udev规则修改USB转串口权限,sudo vi /lib/udev/rules.d/50-udev-default.rules ,修改tty设备的MODE字段为MODE="0777"
KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout" , MODE="0777"
通过修改udev规则修改USB转串口权限,sudo vi /lib/udev/rules.d/50-udev-default.rules ,修改tty设备的MODE字段为MODE="0777"