From dba9a113cf051096ead9ca5ee77f98e1eb9b56d8 Mon Sep 17 00:00:00 2001 From: Zhou Shihui Date: Mon, 18 Nov 2024 10:29:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=82=E8=BD=BDapp=5Finstall=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhou Shihui --- appdata-sandbox-app.json | 8 ++++++++ appdata-sandbox.json | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/appdata-sandbox-app.json b/appdata-sandbox-app.json index fad86bdc..524856bc 100755 --- a/appdata-sandbox-app.json +++ b/appdata-sandbox-app.json @@ -351,6 +351,14 @@ "gids": ["file_manager"], "mount-paths":[], "mount-groups": ["Users", "user-public"] + }, { + "name": "ohos.permission.ACCESS_APP_INSTALL_DIR", + "sandbox-switch": "ON", + "gids": ["app_install"], + "mount-paths": [{ + "src-path": "/data/service/el1/public/bms/bundle_manager_service/app_install//", + "sandbox-path": "/data/bms_app_install/" + }] }], "spawn-flag": [{ "name": "START_FLAGS_BACKUP", diff --git a/appdata-sandbox.json b/appdata-sandbox.json index c3bb6bec..9e6b76b6 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -859,6 +859,16 @@ } ] }], + "ohos.permission.ACCESS_APP_INSTALL_DIR":[{ + "sandbox-switch": "ON", + "gids": [2002], + "mount-paths": [{ + "src-path": "/data/service/el1/public/bms/bundle_manager_service/app_install//", + "sandbox-path": "/data/bms_app_install/", + "sandbox-flags": [ "bind", "rec" ] + } + ] + }], "ohos.permission.ACCESS_BBOX_DIR":[{ "sandbox-switch": "ON", "mount-paths": [{