init.rc: change the ownership of compression sysfs nodes

Changed the ownership of compression sysfs nodes for Pixelstats to reset
these values after reading them.

Test: check the ownership of /dev/sys/fs/by-name/userdata/compr_*
Bug: 173399386
Bug: 170789472
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I25bd80fb4b3db855de3c536084cf4b3c14bc8d74
diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc
index 30da750..b4ce744 100644
--- a/conf/init.gs101.rc
+++ b/conf/init.gs101.rc
@@ -577,6 +577,11 @@
     write /dev/sys/fs/by-name/userdata/data_io_flag 8
     write /dev/sys/fs/by-name/userdata/node_io_flag 8
 
+    # Permission for Pixelstats
+    chown system system /dev/sys/fs/by-name/userdata/compr_written_block
+    chown system system /dev/sys/fs/by-name/userdata/compr_saved_block
+    chown system system /dev/sys/fs/by-name/userdata/compr_new_inode
+
     # Block layer tuning: discard chunk size up to 128MB
     # Otherwise, contiguous discards can be merged
     write /sys/block/sda/queue/discard_max_bytes 134217728