summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-07-15 14:12:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-07-15 14:12:23 -0700
commit4a2b0fcd6e166499fe51e920aca5f9640dd05939 (patch)
tree57871d862a867f9d96f216c056680c1ecab4e52e /rootdir
parent81231596c51ed1509bec0a871a834fb05e709b7c (diff)
parentaa4a66a16dd9b97fb876bb296366442b8745a10b (diff)
downloadsystem_core-4a2b0fcd6e166499fe51e920aca5f9640dd05939.zip
system_core-4a2b0fcd6e166499fe51e920aca5f9640dd05939.tar.gz
system_core-4a2b0fcd6e166499fe51e920aca5f9640dd05939.tar.bz2
am aa4a66a1: am 1e5e2d76: am af6e3266: am d0b93f43: Merge "Create world readable, system writeable /data/resource-cache."
* commit 'aa4a66a16dd9b97fb876bb296366442b8745a10b': 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 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