diff --git a/rootdir/init.rc b/rootdir/init.rc index d53f4f902..3f68f356a 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -270,7 +270,10 @@ on post-fs-data # create basic filesystem structure mkdir /data/misc 01771 system misc mkdir /data/misc/adb 02750 system shell - mkdir /data/misc/bluedroid 0770 bluetooth net_bt_stack + mkdir /data/misc/bluedroid 02770 bluetooth net_bt_stack + # 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/keystore 0700 keystore keystore mkdir /data/misc/gatekeeper 0700 system system