From 37c586e6b11138beab400d1208183d49c12a9ef2 Mon Sep 17 00:00:00 2001 From: Oscar Montemayor Date: Wed, 2 Dec 2009 16:43:52 -0800 Subject: [PATCH] Encrypted File Systems Project. Temporarily creating emulated encrypted directories manually. Will remove those lines once a true encrypted FS is mounted, and proper framework chanfes have been made. This is required for the feature to work with the other changes. --- rootdir/init.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 808255ee1..71a98825b 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -116,6 +116,12 @@ loglevel 3 mkdir /data/app 0771 system system mkdir /data/property 0700 root root + # STOPSHIP: Temporary Encrypted File Systems workaround + mkdir /data/secure 0771 system system + mkdir /data/secure/data 0771 system system + mkdir /data/secure/misc 01771 system misc + mkdir /data/securemisc/vpn 0770 system system + mkdir /data/secure/misc/vpn/profiles 0770 system system # create dalvik-cache and double-check the perms mkdir /data/dalvik-cache 0771 system system