From dfe338bed1b5e8d9285f7b9c55901c072cd40bf3 Mon Sep 17 00:00:00 2001 From: DaiHN Date: Thu, 3 Apr 2025 16:05:16 +0800 Subject: [PATCH] Add permission of "system/framework" issue: https://gitee.com/openharmony/startup_appspawn/issues/ICEE32 Signed-off-by: DaiHN Change-Id: I265f95ea7d2e667676017f054d98272bb6738df6 --- appdata-sandbox-app.json | 3 +++ appdata-sandbox-render.json | 3 +++ appdata-sandbox.json | 12 +++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/appdata-sandbox-app.json b/appdata-sandbox-app.json index ba54cae4..ac12e08b 100644 --- a/appdata-sandbox-app.json +++ b/appdata-sandbox-app.json @@ -62,6 +62,9 @@ }, { "src-path" : "/system/etc", "sandbox-path" : "/system/etc" + }, { + "src-path": "/system/framework", + "sandbox-path": "/system/framework" }, { "src-path" : "/system/resource", "sandbox-path" : "/system/resource" diff --git a/appdata-sandbox-render.json b/appdata-sandbox-render.json index a3d541ad..e671f9a0 100644 --- a/appdata-sandbox-render.json +++ b/appdata-sandbox-render.json @@ -20,6 +20,9 @@ }, { "src-path" : "/system/etc", "sandbox-path" : "/system/etc" + }, { + "src-path": "/system/framework", + "sandbox-path": "/system/framework" }, { "src-path" : "/system/bin", "sandbox-path" : "/system/bin" diff --git a/appdata-sandbox.json b/appdata-sandbox.json index b6e26388..9c6a1fdc 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -73,6 +73,11 @@ "sandbox-path" : "/system/etc", "sandbox-flags" : [ "bind", "rec" ], "check-action-status": "false" + }, { + "src-path" : "/system/framework", + "sandbox-path" : "/system/framework", + "sandbox-flags" : [ "bind", "rec" ], + "check-action-status": "false" }, { "src-path" : "/system/etc/hosts", "sandbox-path" : "/data/service/el1/network/hosts_user/hosts", @@ -491,6 +496,11 @@ "sandbox-path" : "/system/etc", "sandbox-flags" : [ "bind", "rec" ], "check-action-status": "false" + }, { + "src-path" : "/system/framework", + "sandbox-path" : "/system/framework", + "sandbox-flags" : [ "bind", "rec" ], + "check-action-status": "false" }, { "src-path" : "/system/etc/hosts", "sandbox-path" : "/data/service/el1/network/hosts_user/hosts", @@ -797,7 +807,7 @@ "src-path": "/data/service/el1/public/themes//a/system", "sandbox-path": "/data/themes/a/system", "sandbox-flags": [ "bind", "rec" ] - }, + }, { "src-path": "/data/service/el1/public/themes//b/system", "sandbox-path": "/data/themes/b/system", -- Gitee