From 8f68d0a5ddbfd6756ec7779c8fc12d70f4ee8208 Mon Sep 17 00:00:00 2001 From: Shaikh Shadul Date: Tue, 4 Sep 2018 16:36:17 +0530 Subject: [PATCH] sanders: change sensors registry file owner and group Sensors registry file ownership is retained even after OTA upgrade and that file is only accessible by daemon belongs to same ownership permissions. Change-Id: I3543733232aeab04d14fb9d69f635c1e6c6df1e2 --- rootdir/etc/init.qcom.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 50d6b80..b78bf54 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -94,6 +94,7 @@ on early-boot chmod 0664 /persist/sensors/sensors_settings chown system system /mnt/vendor/persist/sensors + chown system system /mnt/vendor/persist/sensors/sns.reg chown system system /mnt/vendor/persist/sensors/registry chown system system /mnt/vendor/persist/sensors/registry/registry chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry