summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sonyericsson.com>2011-05-30 10:24:54 +0200
committerJohan Redestig <johan.redestig@sonyericsson.com>2011-05-31 15:41:15 +0200
commitb45280d259c5036dd066782d725c55284c7dae90 (patch)
treea74b47cceea055e18a86a04562b667b1c107251d /rootdir
parent327b2b709f1c9ed119b2d87cd95d4a5367fe0338 (diff)
downloadcore-b45280d259c5036dd066782d725c55284c7dae90.tar.gz
core-b45280d259c5036dd066782d725c55284c7dae90.tar.bz2
core-b45280d259c5036dd066782d725c55284c7dae90.zip
Create world readable, system writeable /data/resource-cache.
/data/resource-cache is used to store idmap files. Change-Id: I9b1dbc8d607333b71c05f55a4a402ae92193c36c
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 90c017bb6..f6e019698 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -166,6 +166,11 @@ on post-fs
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