summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 8dd858f..0d476d4 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -159,6 +159,11 @@ on post-fs-data
# create dalvik-cache, so as to enforce our permissions
mkdir /data/dalvik-cache 0771 system system
+ # 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 root root