sensors_start/etc/init/sensors_musl.cfg
li-yaoyao777 79662a8cc6 修改权限
Signed-off-by: li-yaoyao777 <liyaoyao7@huawei.com>
2023-05-29 10:47:20 +08:00

18 lines
530 B
INI

{
"services" : [{
"name" : "sensors",
"path" : ["/system/bin/sa_main", "/system/profile/sensors.json"],
"uid" : "sensor",
"gid" : ["sensor", "shell"],
"secon" : "u:r:sensors:s0",
"permission" : [
"ohos.permission.PERMISSION_USED_STATS",
"ohos.permission.GET_SENSITIVE_PERMISSIONS"
],
"permission_acls" : [
"ohos.permission.GET_SENSITIVE_PERMISSIONS"
]
}
]
}