summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2016-09-15 15:30:11 -0700
committerAjay Panicker <apanicke@google.com>2016-12-12 18:16:36 +0000
commit03067a21e703f8cb677ef8b2619fe4d137ebca5c (patch)
tree0a9dd3d2f97e36ad73337f65418ad09ba2ed6708 /rootdir/init.rc
parenta71003da666b9d36f09137e8bae11d841705d0e5 (diff)
Allow bluetooth service to access bluetooth directory and add /logs (2/14)
Bug: 31466840 Change-Id: I2c2766a2366600def81708d97cf3f3f13e0eb655 (cherry picked from commit 59d6a8cf8a4867a10f56b36057bffcc344715d3f)
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc3
1 files changed, 2 insertions, 1 deletions
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