Merge "rootdir: access to pstore denied to bootstat" am: 8b80960417
am: fbe32e723b
Change-Id: I1011c15b922947d57c65cef9a685ed61e7be7fdd
diff --git a/rootdir/init.rc b/rootdir/init.rc
index f21490f..418478d 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -236,6 +236,8 @@
# pstore/ramoops previous console log
mount pstore pstore /sys/fs/pstore nodev noexec nosuid
+ chown system log /sys/fs/pstore
+ chmod 0550 /sys/fs/pstore
chown system log /sys/fs/pstore/console-ramoops
chmod 0440 /sys/fs/pstore/console-ramoops
chown system log /sys/fs/pstore/console-ramoops-0