Ugly: Give TrebleApp write accesss to wifi configuration file
As part of O/O-MR1 vendor support for hostapd, an in-app IHostapd implementation has been done. This needs to write to /data/misc/wifi/hostapd.conf /data/misc/wifi is originally in P writable only by wifi/wifi. There is no easy way to gain "wifi" group access (though can be done through platform.xml) from an app. At the moment, all services requiring access to /data/misc/wifi are running user "wifi", so this change is okay for the moment.
This commit is contained in:
parent
bb48e2b0fc
commit
57ba266b91
1
vndk.rc
1
vndk.rc
@ -10,3 +10,4 @@ service phh_on_boot /system/bin/phh-on-boot.sh
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
start phh_on_boot
|
||||
chown wifi system /data/misc/wifi
|
||||
|
Loading…
x
Reference in New Issue
Block a user