From 2b179b51aaf1d8239c6530d217b6573729463d63 Mon Sep 17 00:00:00 2001 From: RGIB Date: Wed, 25 May 2016 02:45:55 +0200 Subject: n5100 : fix geomag permission Change-Id: Ic839c3515bfa671797af6f7b97374699f3f4d2ec --- rootdir/init.target.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index f3db5e0..c7caff5 100755 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -19,6 +19,10 @@ on post-fs-data # geomagneticd write /data/system/yas.cfg 0 write /data/system/yas-backup.cfg 0 + chown system input /data/system/yas.cfg + chown system input /data/system/yas-backup.cfg + chmod 0664 /data/system/yas.cfg + chmod 0664 /data/system/yas-backup.cfg # gpsd mkdir /data/system/gps 775 root root -- cgit v1.1