castengine_cast_framework/etc/init/cast_engine_service.cfg
LongestDistance dbc4c66cce
删除部分不合理的权限
Signed-off-by: LongestDistance <cdwango@isoftstone.com>
2024-11-01 07:03:12 +00:00

29 lines
1.0 KiB
INI

{
"jobs" : [{
"name" : "post-fs-data",
"cmds" : [
"mkdir /data/service/el1/public/cast_engine_service 0700 cast_engine_service cast_engine_service"
]
}
],
"services" : [{
"name" : "cast_engine_service",
"path" : ["/system/bin/sa_main", "/system/profile/cast_engine_service.json"],
"ondemand" : true,
"uid" : "cast_engine_service",
"gid" : ["cast_engine_service", "shell", "access_token"],
"permission" : [
"ohos.permission.DISTRIBUTED_DATASYNC",
"ohos.permission.ACCESS_SERVICE_DM",
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"ohos.permission.RUNNING_STATE_OBSERVER",
"ohos.permission.INTERNET",
"ohos.permission.GET_WIFI_INFO",
"ohos.permission.ACCESS_CAST_ENGINE_MIRROR",
"ohos.permission.MANAGE_LOCAL_ACCOUNTS"
],
"secon" : "u:r:cast_engine_service:s0"
}
]
}