summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-07-15 11:29:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-07-15 11:29:15 -0700
commit1e5e2d7673a9ea915283f6626fa692cc169b0e67 (patch)
tree2b3c448ea9c43e44f10e805c3f677b534d2cac0e
parent3ea075bee78d8c82b0209c43d02e2324846fbe3e (diff)
parentaf6e3266fd8d4808a3aa2b37e08dce67493ff396 (diff)
downloadsystem_core-1e5e2d7673a9ea915283f6626fa692cc169b0e67.zip
system_core-1e5e2d7673a9ea915283f6626fa692cc169b0e67.tar.gz
system_core-1e5e2d7673a9ea915283f6626fa692cc169b0e67.tar.bz2
am af6e3266: am d0b93f43: Merge "Create world readable, system writeable /data/resource-cache."
* commit 'af6e3266fd8d4808a3aa2b37e08dce67493ff396': Create world readable, system writeable /data/resource-cache.
-rw-r--r--rootdir/init.rc5
1 files changed, 5 insertions, 0 deletions
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 @@ 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