summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorMax Bires <jbires@google.com>2018-01-18 14:23:51 -0800
committerMax Bires <jbires@google.com>2018-01-19 09:37:44 -0800
commit181d11c5cb4d0dc10216e1aa89b8e2510f87b85c (patch)
tree3dc0e4262969d762851d8411f0299a74d2195bbf /rootdir
parent854eb6cf78f4248b68424422397de51e817860a5 (diff)
downloadcore-181d11c5cb4d0dc10216e1aa89b8e2510f87b85c.tar.gz
core-181d11c5cb4d0dc10216e1aa89b8e2510f87b85c.tar.bz2
core-181d11c5cb4d0dc10216e1aa89b8e2510f87b85c.zip
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
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
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