init.qcom.usb.rc: update owner/group for g1
Change owner/group for g1 from root/root to
root/system so that we can allow services with
system group to access.
Change-Id: I2fa30d9f6b6e2bcbaddc62210b08055fd591e0a6
diff --git a/etc/init.qcom.usb.rc b/etc/init.qcom.usb.rc
index 633f92b..4b36a10 100644
--- a/etc/init.qcom.usb.rc
+++ b/etc/init.qcom.usb.rc
@@ -1952,6 +1952,7 @@
symlink /config/usb_gadget/g1/functions/uvc.0/streaming/header/h /config/usb_gadget/g1/functions/uvc.0/streaming/class/ss/h
on property:vendor.usb.uac2.function.init=1
- chown system system config/usb_gadget/g1/functions/uac2.0/c_status
- chown system system config/usb_gadget/g1/functions/uac2.0/p_status
+ chown root system config/usb_gadget/g1
+ chown root system config/usb_gadget/g1/functions/uac2.0/c_status
+ chown root system config/usb_gadget/g1/functions/uac2.0/p_status
write config/usb_gadget/g1/functions/uac2.0/c_sync adaptive