From fccbb96454e848f442fcee4b6a094b3e84e85b31 Mon Sep 17 00:00:00 2001 From: niudongyao Date: Wed, 26 Jul 2023 16:38:19 +0800 Subject: [PATCH 1/2] fix Signed-off-by: niudongyao --- appdata-sandbox.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/appdata-sandbox.json b/appdata-sandbox.json index ef0e284d..d841d77e 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -533,6 +533,18 @@ "sandbox-flags": [ "bind", "rec" ] } ] + }, + { + "sandbox-switch": "ON", + "sandbox-root": "/mnt/sandbox/", + "gids": [1008], + "mount-paths": [ + { + "src-path": "/data/app/el2//database/com.ohos.medialibrary.medialibrarydata/", + "sandbox-path": "/data/storage/el2/database/share", + "sandbox-flags": [ "bind", "rec" ] + } + ] } ] } -- Gitee From 28aff8538aa156986feb0c9bd055645ed75e7300 Mon Sep 17 00:00:00 2001 From: niudongyao Date: Thu, 27 Jul 2023 09:01:51 +0800 Subject: [PATCH 2/2] fix Signed-off-by: niudongyao --- appdata-sandbox.json | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/appdata-sandbox.json b/appdata-sandbox.json index d841d77e..05b64485 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -525,20 +525,13 @@ { "sandbox-switch": "ON", "sandbox-root": "/mnt/sandbox/", - "gids": [1008], + "gids": [1008, 3012], "mount-paths": [ { "src-path": "/storage/media//local/files/.thumbs/Photo", "sandbox-path": "/storage/Share/.thumbs/Photo", "sandbox-flags": [ "bind", "rec" ] - } - ] - }, - { - "sandbox-switch": "ON", - "sandbox-root": "/mnt/sandbox/", - "gids": [1008], - "mount-paths": [ + }, { "src-path": "/data/app/el2//database/com.ohos.medialibrary.medialibrarydata/", "sandbox-path": "/data/storage/el2/database/share", -- Gitee