From b45280d259c5036dd066782d725c55284c7dae90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Mon, 30 May 2011 10:24:54 +0200 Subject: Create world readable, system writeable /data/resource-cache. /data/resource-cache is used to store idmap files. Change-Id: I9b1dbc8d607333b71c05f55a4a402ae92193c36c --- rootdir/init.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rootdir') 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 -- cgit v1.1