am af6e3266: am d0b93f43: Merge "Create world readable, system writeable /data/resource-cache."
* commit 'af6e3266fd8d4808a3aa2b37e08dce67493ff396':
Create world readable, system writeable /data/resource-cache.
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 90c017b..f6e0196 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -166,6 +166,11 @@
chown system system /data/dalvik-cache
chmod 0771 /data/dalvik-cache
+ # create resource-cache and double-check the perms
+ mkdir /data/resource-cache 0771 system system
+ chown system system /data/resource-cache
+ chmod 0771 /data/resource-cache
+
# create the lost+found directories, so as to enforce our permissions
mkdir /data/lost+found 0770
mkdir /cache/lost+found 0770