startup_appspawn/product-sandbox.json
Zheng Yongjun b974017bc3 在应用沙箱配置文件中引入文件系统的挂载项
使用方法参考individual节点下的"ohos.samples.dlp"的配置

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
2022-05-21 18:03:25 +08:00

35 lines
1.1 KiB
JSON

{
"common" : [{
"top-sandbox-switch": "ON",
"app-base" : [{
"sandbox-root" : "/mnt/sandbox/<PackageName>",
"mount-paths" : [],
"symbol-links" : []
}],
"app-resources" : [{
"sandbox-root" : "/mnt/sandbox/<PackageName>",
"mount-paths" : [],
"symbol-links" : []
}]
}],
"individual" : [{
"ohos.samples.xxx" : [{
"sandbox-switch": "ON",
"sandbox-root" : "/mnt/sandbox/<PackageName>",
"mount-paths" : [{
"src-path" : "/data/app/el1/bundle/public/",
"sandbox-path" : "/data/accounts/account_0/applications/",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "true"
}, {
"src-path" : "/data/app/el1/bundle/public/",
"sandbox-path" : "/data/bundles/",
"sandbox-flags" : [ "bind", "rec" ],
"check-action-status": "true"
}
],
"symbol-links" : []
}]
}]
}