summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueyao Zhu <yueyao@google.com>2017-06-28 15:47:38 -0700
committerJan Altensen <info@stricted.net>2021-05-04 02:41:18 +0200
commite5853236d47843784c742d1e4554538676610005 (patch)
tree970abde22fd9196082b3579c739ac05dbb709fe7
parent2106a734ae85d692dcf5f92207055bb33427feee (diff)
lineage/interfaces: USB: HAL: run as user root, group root system
This allows USB HAL to write USB sysfs nodes. Bug: 38352281 Change-Id: Iaf8f1bad1a0394e553996b7a42bc34745b769b16
-rw-r--r--usb/1.1-typec/android.hardware.usb@1.1-service.wahoo.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usb/1.1-typec/android.hardware.usb@1.1-service.wahoo.rc b/usb/1.1-typec/android.hardware.usb@1.1-service.wahoo.rc
index bc1101d..1451519 100644
--- a/usb/1.1-typec/android.hardware.usb@1.1-service.wahoo.rc
+++ b/usb/1.1-typec/android.hardware.usb@1.1-service.wahoo.rc
@@ -1,7 +1,7 @@
service usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.wahoo
class hal
- user system
- group system
+ user root
+ group root system
on boot
chown root system /sys/class/typec/port0/power_role