aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-05-25 02:45:55 +0200
committerRGIB <gibellini.roberto@gmail.com>2016-05-25 02:45:55 +0200
commit2b179b51aaf1d8239c6530d217b6573729463d63 (patch)
tree3e2f0b7c2567f50856b8585cee359ca30deb5532
parent1863f34205a6646749f8c5c71531a37eb722d613 (diff)
downloaddevice_samsung_n5100-2b179b51aaf1d8239c6530d217b6573729463d63.zip
device_samsung_n5100-2b179b51aaf1d8239c6530d217b6573729463d63.tar.gz
device_samsung_n5100-2b179b51aaf1d8239c6530d217b6573729463d63.tar.bz2
n5100 : fix geomag permission
Change-Id: Ic839c3515bfa671797af6f7b97374699f3f4d2ec
-rwxr-xr-xrootdir/init.target.rc4
1 files changed, 4 insertions, 0 deletions
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