Merge "Harden /mnt/pass_through paths" am: 294c16024b am: 8cf544b7eb am: c79ad41b9e
Change-Id: I9222a40b55e8e5d6dfa150e00af02b4cdf3ea738
diff --git a/rootdir/init.rc b/rootdir/init.rc
index c9a8e0c..d7a9c8a 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -178,10 +178,10 @@
# Prepare directories for pass through processes
mkdir /mnt/pass_through 0700 root root
- mkdir /mnt/pass_through/0 0755 root root
- mkdir /mnt/pass_through/0/self 0755 root root
- mkdir /mnt/pass_through/0/emulated 0755 root root
- mkdir /mnt/pass_through/0/emulated/0 0755 root root
+ mkdir /mnt/pass_through/0 0710 root media_rw
+ mkdir /mnt/pass_through/0/self 0710 root media_rw
+ mkdir /mnt/pass_through/0/emulated 0710 root media_rw
+ mkdir /mnt/pass_through/0/emulated/0 0710 root media_rw
mkdir /mnt/expand 0771 system system
mkdir /mnt/appfuse 0711 root root