From 3802bf5645b62384a8df6e98b2b76090f62db9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E5=BF=97=E6=81=92?= Date: Mon, 5 May 2025 20:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BD=91=E7=BB=9C=E9=82=BB?= =?UTF-8?q?=E5=B1=85=E8=B7=AF=E5=BE=84=E6=8C=82=E8=BD=BD=E5=88=B0=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E6=B2=99=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 姜志恒 Signed-off-by: SuperKekeA <854706195@qq.com> --- appdata-sandbox-app.json | 14 +++++++++++++- appdata-sandbox.json | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/appdata-sandbox-app.json b/appdata-sandbox-app.json index 029d97ea..b6398319 100644 --- a/appdata-sandbox-app.json +++ b/appdata-sandbox-app.json @@ -204,7 +204,19 @@ }, { "name": "ohos.permission.FILE_CROSS_APP", "gids": ["file_manager"], - "mount-paths": [], + "mount-paths": [{ + "src-path": "/mnt/data//userExternal", + "sandbox-path": "/mnt/storage/userExternal", + "sandbox-flags": [ "bind", "rec" ], + "check-action-status": "false" + }, { + "src-path": "/mnt/sandbox///mnt/storage/userExternal", + "sandbox-path": "/storage/userExternal", + "sandbox-flags-customized": [ "MS_NODEV" ], + "dac-override-sensitive": "true", + "fs-type": "sharefs", + "options": "override_support_delete" + }], "mount-groups": [ "user-public", "storage_users" ] }, { "name": "ohos.permission.FILE_ACCESS_COMMON_DIR", diff --git a/appdata-sandbox.json b/appdata-sandbox.json index 3f9870f7..242a9f43 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -742,6 +742,25 @@ "dac-override-sensitive": "true", "fs-type": "sharefs", "options": "override" + }, + { + "src-path": "/mnt/data//userExternal", + "sandbox-path": "/mnt/storage/userExternal", + "sandbox-flags": [ + "bind", + "rec" + ], + "check-action-status": "false" + }, + { + "src-path": "/mnt/sandbox///mnt/storage/userExternal", + "sandbox-path": "/storage/userExternal", + "sandbox-flags-customized": [ + "MS_NODEV" + ], + "dac-override-sensitive": "true", + "fs-type": "sharefs", + "options": "override_support_delete" } ] }], -- Gitee