Lsusb on linux showing the wrong device

It is mounted with group “plugdev” but MODE=“0666” enforces chmod mask to 0666, which makes it writeable access to owner, group and world. This MODE setting is proposed on many internet sites because it make things always work (unless other restriction settings prohibit access).

So mode 0660 should allow write for owner and plugdev only, right?

If you are the owner of the device mount, yes. Depending on the distribution, this may not the standard case, so you should at least set 0660. But play with the different settings.

1 Like

I guess I should just change every occurence in https://github.com/LineageOS/android_device_fairphone_FP2/blob/cm-14.1/root/init.qcom.usb.rc from 05C6 to 2AE5.

Chris

5 Likes

https://review.lineageos.org/#/c/207712/

Next build should have this.

8 Likes

Can this topic be closed? It should be OK now afaik.

2 Likes