From ce9c14b00ce6254cad8ee4d7cd16ddceec300947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8C=AB=E7=A7=91=E9=BE=99?= Date: Thu, 23 Jun 2022 03:32:56 +0000 Subject: [PATCH] Map BackupExtensionAbility's home dir into its sandbox Signed-off-by: maokelong --- appdata-sandbox.json | 10 ++++++++++ appdata-sandbox64.json | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/appdata-sandbox.json b/appdata-sandbox.json index 4710f9f9..cdf18440 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -125,6 +125,16 @@ "check-action-status": "false" } ], + "flags-point" : [{ + "flags" : "START_FLAGS_BACKUP", + "mount-paths" : [{ + "src-path" : "/data/service/el2//backup/bundles/", + "sandbox-path" : "/data/storage/el2/backup", + "sandbox-flags" : [ "bind", "rec" ], + "check-action-status": "false" + } + ] + }], "symbol-links" : [{ "target-name" : "/system/bin", "link-name" : "/bin", diff --git a/appdata-sandbox64.json b/appdata-sandbox64.json index 8fb6b8c8..af68b945 100644 --- a/appdata-sandbox64.json +++ b/appdata-sandbox64.json @@ -130,6 +130,16 @@ "check-action-status": "false" } ], + "flags-point" : [{ + "flags" : "START_FLAGS_BACKUP", + "mount-paths" : [{ + "src-path" : "/data/service/el2//backup/bundles/", + "sandbox-path" : "/data/storage/el2/backup", + "sandbox-flags" : [ "bind", "rec" ], + "check-action-status": "false" + } + ] + }], "symbol-links" : [{ "target-name" : "/system/bin", "link-name" : "/bin", -- Gitee