From fe36326ff0837dcd4f332a0dc2a62ed79bb839da Mon Sep 17 00:00:00 2001 From: wangfenging Date: Wed, 20 Aug 2025 18:34:15 +0800 Subject: [PATCH] Add debug hap json config Signed-off-by: wangfenging --- appdata-sandbox.json | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) mode change 100755 => 100644 appdata-sandbox.json diff --git a/appdata-sandbox.json b/appdata-sandbox.json old mode 100755 new mode 100644 index c4a062d5..73706695 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -1080,5 +1080,54 @@ "gids":[1007], "mount-paths": [] }] + }], + "debug": [{ + "common":[{ + "mount-paths":[ + { + "src-path" : "/data/app/el1//base/", + "sandbox-path" : "/data/storage/el1/base", + "sandbox-flags": ["bind", "rec"], + "mount-shared-flag": "true", + "check-action-status": "false" + }, { + "src-path" : "/data/app/el1//database/", + "sandbox-path" : "/data/storage/el1/database", + "sandbox-flags": ["bind", "rec"], + "mount-shared-flag": "true", + "check-action-status": "false" + }, { + "src-path" : "/data/app/el2//base/", + "sandbox-path" : "/data/storage/el2/base", + "sandbox-flags": ["bind", "rec"], + "mount-shared-flag": "true", + "check-action-status": "false" + }, { + "src-path" : "/data/app/el2//database/", + "sandbox-path" : "/data/storage/el2/database", + "sandbox-flags": ["bind", "rec"], + "mount-shared-flag": "true", + "check-action-status": "false" + } + ] + }], + "permission":[{ + "ohos.permission.PROTECT_SCREEN_LOCK_DATA":[{ + "mount-paths": [ + { + "src-path" : "/data/app/el5//base/", + "sandbox-path" : "/data/storage/el5/base", + "sandbox-flags": ["bind", "rec"], + "mount-shared-flag": "true", + "check-action-status": "false" + }, { + "src-path" : "/data/app/el5//database/", + "sandbox-path" : "/data/storage/el5/database", + "sandbox-flags": ["bind", "rec"], + "mount-shared-flag": "true", + "check-action-status": "false" + }] + }] + }] }] } -- Gitee