From 181d11c5cb4d0dc10216e1aa89b8e2510f87b85c Mon Sep 17 00:00:00 2001 From: Max Bires Date: Thu, 18 Jan 2018 14:23:51 -0800 Subject: [PATCH] Adding /data/local/traces for traceur app Traceur app is being split out of shell user. Previously it logged to shell's bugreports directory. It no longer has access, so it needs a new, user-friendly file location to store trace data. Bug:68126425 Test: Traceur can write and shell can read from this directory Change-Id: I9e344973fd43eb5699f7a848524e20b06458fb77 --- rootdir/init.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 5fa77d8d9..6fc3fe719 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -453,6 +453,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/local/traces 0777 shell shell mkdir /data/data 0771 system system mkdir /data/app-private 0771 system system mkdir /data/app-ephemeral 0771 system system