Change Bluetooth file group id to net_bt_stack for manta
This way we give the bluetooth file access to Bluetooth api of all
the users
bug 6925422
Change-Id: I88dd4cf227346dd416ca5c94b0778ef7b11df2ff
diff --git a/init.manta.rc b/init.manta.rc
index 3716a5e..7e9d8b8 100644
--- a/init.manta.rc
+++ b/init.manta.rc
@@ -28,12 +28,12 @@
# permissions for bluetooth.
setprop ro.bt.bdaddr_path "/factory/bluetooth/bt_addr"
- chown bluetooth bluetooth ro.bt.bdaddr_path
- chown bluetooth bluetooth /dev/ttySAC0
- chmod 0600 /dev/ttySAC0
+ chown bluetooth net_bt_stack ro.bt.bdaddr_path
+ chown bluetooth net_bt_stack /dev/ttySAC0
+ chmod 0660 /dev/ttySAC0
chmod 0660 /sys/class/rfkill/rfkill0/state
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
- chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
+ chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
+ chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
on boot
mount debugfs /sys/kernel/debug /sys/kernel/debug