我想以具有 sudo 访问权限的普通用户身份更改 USB 设备的权限。在我的 sudo 中添加了user ALL =(root) /bin/chown
使用 lsusb 获取 USB 详细信息
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 03f0:034a Hewlett-Packard Elite Keyboard
Bus 002 Device 007: ID 03f0:094a Hewlett-Packard Optical Mouse [672662-001]
Bus 002 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
**Bus 002 Device 008: ID 0b95:7720 ASIX Electronics Corp. AX88772**
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
我正在尝试使用 sudo 更改此设备的所有权
Bus 002 Device 008: ID 0b95:7720 ASIX Electronics Corp. AX88772
sudo chown -R root:qemu /dev/bus/usb/002/008
我收到错误operation not permitted
您能解决这个问题吗?
提前致谢
维诺斯