Merge "Fix permission of zram writeback and idle file" into main
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 8ffac20..6771c5f 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -1128,9 +1128,9 @@
# System server manages zram writeback
chown root system /sys/block/zram0/idle
- chmod 0664 /sys/block/zram0/idle
+ chmod 0220 /sys/block/zram0/idle
chown root system /sys/block/zram0/writeback
- chmod 0664 /sys/block/zram0/writeback
+ chmod 0220 /sys/block/zram0/writeback
# to access F2FS sysfs on dm-<num> directly
mkdir /dev/sys/fs/by-name 0755 system system