aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-07-15 11:30:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-07-15 11:30:44 -0700
commitaa4a66a16dd9b97fb876bb296366442b8745a10b (patch)
tree50809b609a5648e3cf1759fb56948abc20f4f9db /rootdir
parent070ec8e02e12aafc8a636737bba3d5ead7cecd8e (diff)
parent1e5e2d7673a9ea915283f6626fa692cc169b0e67 (diff)
downloadsystem_core-aa4a66a16dd9b97fb876bb296366442b8745a10b.tar.gz
system_core-aa4a66a16dd9b97fb876bb296366442b8745a10b.tar.bz2
system_core-aa4a66a16dd9b97fb876bb296366442b8745a10b.zip
am 1e5e2d76: am af6e3266: am d0b93f43: Merge "Create world readable, system writeable /data/resource-cache."
* commit '1e5e2d7673a9ea915283f6626fa692cc169b0e67': Create world readable, system writeable /data/resource-cache.
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 7a7f3e7c..54f4be2e 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -169,6 +169,11 @@ on post-fs-data
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