From e8b273f20a389cad63612b3b3e021b2e9554946a Mon Sep 17 00:00:00 2001 From: wangpggg Date: Mon, 25 Mar 2024 14:21:20 +0800 Subject: [PATCH] add backup sa permission Signed-off-by: wangpeng --- services/backup.cfg | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/services/backup.cfg b/services/backup.cfg index a97bc2926..377a0da4a 100644 --- a/services/backup.cfg +++ b/services/backup.cfg @@ -1,15 +1,16 @@ { "services" : [{ - "name" : "backup_sa", - "path" : ["/system/bin/sa_main", "/system/profile/backup_sa.json"], - "ondemand" : true, - "uid" : "backup", - "gid" : ["backup"], - "secon" : "u:r:backup_sa:s0", - "permission" : [ - "ohos.permission.STORAGE_MANAGER", - "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - ] - } - ] + "name" : "backup_sa", + "path" : ["/system/bin/sa_main", "/system/profile/backup_sa.json"], + "ondemand" : true, + "uid" : "backup", + "gid" : ["backup"], + "secon" : "u:r:backup_sa:s0", + "permission" : [ + "ohos.permission.STORAGE_MANAGER", + "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", + "ohos.permission.START_INVISIBLE_ABILITY" + ], + "permission_acls" : ["ohos.permission.START_INVISIBLE_ABILITY"] + }] } \ No newline at end of file -- Gitee