Merge "rootdir: access to pstore denied to bootstat"
am: 8b80960417
Change-Id: I02884961f2b782e57a9dcac028c2bd6ae7b33f48
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