From 03067a21e703f8cb677ef8b2619fe4d137ebca5c Mon Sep 17 00:00:00 2001 From: Ajay Panicker Date: Thu, 15 Sep 2016 15:30:11 -0700 Subject: [PATCH] Allow bluetooth service to access bluetooth directory and add /logs (2/14) Bug: 31466840 Change-Id: I2c2766a2366600def81708d97cf3f3f13e0eb655 (cherry picked from commit 59d6a8cf8a4867a10f56b36057bffcc344715d3f) --- rootdir/init.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index a22d5c130..df60f6582 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -371,7 +371,8 @@ on post-fs-data # Fix the access permissions and group ownership for 'bt_config.conf' chmod 0660 /data/misc/bluedroid/bt_config.conf chown bluetooth net_bt_stack /data/misc/bluedroid/bt_config.conf - mkdir /data/misc/bluetooth 0770 system system + mkdir /data/misc/bluetooth 0770 bluetooth net_bt_stack + mkdir /data/misc/bluetooth/logs 0770 bluetooth net_bt_stack mkdir /data/misc/keystore 0700 keystore keystore mkdir /data/misc/gatekeeper 0700 system system mkdir /data/misc/keychain 0771 system system