From 982e0693ce69021636e779c759ff6c596038dd1f Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Fri, 5 May 2017 17:42:37 +0000 Subject: [PATCH] Revert "Make /data/data a symlink to /data/user/0" This reverts commit d147cb5887f1ee9c978f58cdf59e9ddb99209ac6. Original change breaks AVD Original changes breaks SF/AF Bug: 38026755 Bug: 38030346 Bug: 38114264 Change-Id: Iab56244f0dc0f6b0df2916c691277a882fc7d184 --- rootdir/init.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 8cdc13f7f..540e9763b 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -419,6 +419,7 @@ on post-fs-data # For security reasons, /data/local/tmp should always be empty. # Do not place files or directories in /data/local/tmp mkdir /data/local/tmp 0771 shell shell + mkdir /data/data 0771 system system mkdir /data/app-private 0771 system system mkdir /data/app-ephemeral 0771 system system mkdir /data/app-asec 0700 root root @@ -471,8 +472,7 @@ on post-fs-data mkdir /data/user 0711 system system mkdir /data/user_de 0711 system system - mkdir /data/user/0 0711 system system - symlink /data/user/0 /data/data + symlink /data/data /data/user/0 mkdir /data/media 0770 media_rw media_rw mkdir /data/media/obb 0770 media_rw media_rw