{ "global": { "sandbox-root": "/mnt/sandbox//app-root", "sandbox-ns-flags": [ "net" ] }, "required": { "system-const": { "mount-paths": [{ "src-path" : "/config", "sandbox-path" : "/config" }, { "src-path" : "/dev", "sandbox-path" : "/dev" }, { "src-path" : "/proc", "sandbox-path" : "/proc" }, { "src-path" : "/sys", "sandbox-path" : "/sys" }, { "src-path" : "/sys_prod", "sandbox-path" : "/sys_prod" }, { "src-path" : "/module_update", "sandbox-path" : "/module_update" }, { "src-path" : "/system/app/appServiceFwk", "sandbox-path" : "/system/app/appServiceFwk" }, { "src-path" : "/system/app/shared_bundles", "sandbox-path" : "/system/app/shared_bundles" }, { "src-path" : "/system/fonts", "sandbox-path" : "/system/fonts" }, { "src-path" : "/system/lib", "sandbox-path" : "/system/lib" }, { "src-path" : "/system/lib64", "sandbox-path" : "/system/lib64" }, { "src-path" : "/system/data", "sandbox-path" : "/system/data" }, { "src-path" : "/system/usr", "sandbox-path" : "/system/usr" }, { "src-path" : "/system/profile", "sandbox-path" : "/system/profile" }, { "src-path" : "/system/bin", "sandbox-path" : "/system/bin" }, { "src-path" : "/system/etc", "sandbox-path" : "/system/etc" }, { "src-path" : "/system/resource", "sandbox-path" : "/system/resource" }, { "src-path" : "/vendor/", "sandbox-path" : "/vendor/" }, { "src-path" : "/vendor/etc/vulkan", "sandbox-path" : "/vendor/etc/vulkan" }, { "src-path" : "/vendor/etc/silk", "sandbox-path" : "/vendor/etc/silk" }, { "src-path" : "/vendor/etc/passthrough", "sandbox-path" : "/vendor/etc/passthrough" }, { "src-path" : "/vendor/etc/hiai", "sandbox-path" : "/vendor/etc/hiai" }, { "src-path" : "/data/local/shader_cache/cloud/common", "sandbox-path" : "/data/storage/shader_cache/common" }, { "src-path" : "/data/service/el0/public/for-all-app", "sandbox-path" : "/data/service/el0/public/for-all-app" }, { "src-path" : "/data/service/el1/public/for-all-app", "sandbox-path" : "/data/service/el1/public/for-all-app" }, { "src-path" : "/data/data/hiai", "sandbox-path" : "/data/data/hiai" }, { "src-path" : "/chip_prod/lib64/passthrough", "sandbox-path" : "/chip_prod/lib64/passthrough" }, { "src-path" : "/system/app/ohos.global.systemres", "sandbox-path" : "/data/global/systemResources" }, { "src-path" : "/system/app/SystemResources", "sandbox-path" : "/data/global/systemResources" }, { "src-path" : "/data/service/el1/public/cert_manager_service/certificates/user_open", "sandbox-path" : "/data/certificates/user_cacerts" }], "mount-files": [{ "src-path" : "/system/etc/hosts", "sandbox-path" : "/data/service/el1/network/hosts_user/hosts" }], "symbol-links" : [{ "target-name" : "/system/bin", "link-name" : "/bin" }, { "target-name" : "/system/lib", "link-name" : "/lib" }, { "target-name" : "/system/lib64", "link-name" : "/lib64" }, { "target-name" : "/system/etc", "link-name" : "/etc" }, { "target-name" : "/sys/kernel/debug", "link-name" : "/d" }], "mount-groups" : [] }, "app-variable": { "mount-paths": [{ "src-path" : "/data/app/el1//base/", "sandbox-path" : "/data/storage/el1/base" }, { "src-path" : "/data/app/el1//database/", "sandbox-path" : "/data/storage/el1/database" }, { "src-path" : "/data/app/el1/bundle/public/", "sandbox-path" : "/data/storage/el1/bundle", "check-action-status": "true" }, { "src-path" : "/data/misc", "sandbox-path" : "/data/storage/el1/bundle/misc" }, { "src-path" : "/data/local/ark-cache/", "sandbox-path" : "/data/storage/ark-cache" }, { "src-path" : "/data/local/ark-profile//", "sandbox-path" : "/data/storage/ark-profile" }, { "src-path" : "/data/local/shader_cache/local/", "sandbox-path" : "/data/storage/shader_cache/local" }, { "src-path" : "/data/local/shader_cache/cloud/", "sandbox-path" : "/data/storage/shader_cache/cloud" }, { "src-path" : "/data/service/el1/public/themes//a/app", "sandbox-path" : "/data/themes/a/app" }, { "src-path" : "/data/service/el1/public/themes//b/app", "sandbox-path" : "/data/themes/b/app" }, { "src-path" : "/data/service/el1//utdtypes/utd", "sandbox-path" : "/data/utd" }, { "src-path" : "/data/app/el1/bundle/public/", "sandbox-path" : "/mnt/nweb/tmp" }, { "src-path" : "/mnt/hmdfs/", "sandbox-path" : "/mnt/hmdfs/" }, { "src-path" : "/mnt/hmdfs//cloud/data/", "sandbox-path" : "/data/storage/el2/cloud" }], "symbol-links" : [{ "target-name" : "/mnt/nweb/tmp", "link-name" : "/data/storage/el1/bundle/arkwebcore" }], "mount-groups": ["el2", "el3", "el4"] } }, "conditional": { "permission": [{ "name": "ohos.permission.FILE_ACCESS_MANAGER", "sandbox-switch": "ON", "gids": ["file_manager", "user_data_rw"], "mount-paths": [{ "src-path": "/storage/media//local/files/Docs", "sandbox-path": "/storage/Users/" }, { "src-path": "/storage/media//local/files/.Recent", "sandbox-path": "/storage/Users//.Recent" }], "mount-groups": [ "user-public", "Users" ] }, { "name": "ohos.permission.READ_IMAGEVIDEO", "sandbox-switch": "ON", "gids": ["user_data_r"], "mount-paths": [{ "src-path": "/storage/cloud//files/.thumbs/Photo", "sandbox-path": "/storage/Share/.thumbs/Photo" }] }, { "name": "ohos.permission.FILE_CROSS_APP", "gids": ["file_manager"], "mount-paths": [{ "src-path": "/storage/media//local/files/Docs", "sandbox-path": "/storage/Users/" }, { "src-path": "/data/app/el1//base", "sandbox-path": "/storage/Users//appdata/el1", "category": "dac_override" }, { "src-path": "/data/app/el2//base", "sandbox-path": "/storage/Users//appdata/el2", "category": "dac_override" }], "mount-groups": [ "user-public" ] }, { "name": "ohos.permission.ACTIVATE_THEME_PACKAGE", "gids": ["wallpaper"], "mount-paths": [{ "src-path": "/data/service/el1/public/themes//a/system", "sandbox-path": "/data/themes/a/system" }, { "src-path": "/data/service/el1/public/themes//b/system", "sandbox-path": "/data/themes/b/system" }, { "src-path": "/data/service/el1/public/themes//fa", "sandbox-path": "/data/themes/f" }, { "src-path": "/data/service/el1/public/themes//share", "sandbox-path": "/data/themes/s" }] }, { "name": "ohos.permission.GET_WALLPAPER", "mount-paths": [{ "src-path": "/data/service/el1/public/wallpaper/", "sandbox-path": "/data/wallpaper" }] }, { "name": "ohos.permission.ACCESS_BUNDLE_DIR", "gids": ["wifi"], "mount-paths": [{ "src-path": "/data/app/el1/bundle/public", "sandbox-path": "/data/bundles/" }] }, { "name": "ohos.permission.ACCESS_BBOX_DIR", "mount-paths": [{ "src-path": "/data/log/bbox/", "sandbox-path": "/data/log/bbox/" }] }, { "name": "ohos.permission.ACCESS_PROTOCOL_DFX_DATA", "gids": ["log"], "mount-paths": [{ "src-path": "/data/service/el1/public/chr/protocol", "sandbox-path": "/data/log/protocol" }, { "src-path": "/log/chr", "sandbox-path": "/log/chr" }] }, { "name": "ohos.permission.ACCESS_MEDIALIB_THUMB_DB", "gids": ["media_db_rw"], "mount-paths": [{ "src-path": "/data/app/el2//database/com.ohos.medialibrary.medialibrarydata", "sandbox-path": "/data/medialibrary/database" }] }, { "name": "ohos.permission.ACCESS_SHADER_CACHE_DIR", "mount-paths": [{ "src-path": "/data/local/shader_cache", "sandbox-path": "/data/storage/shader_caches" }] }, { "name": "ohos.permission.ACCESS_HIVIEWX", "mount-paths": [{ "src-path": "/data/log/UserView", "sandbox-path": "/data/log/UserView" }] }, { "name": "ohos.permission.READ_DFX_XPOWER", "mount-paths": [{ "src-path": "/data/log/xpower", "sandbox-path": "/data/log/xpower" }] }, { "name": "ohos.permission.PROTECT_SCREEN_LOCK_DATA", "sandbox-switch": "ON", "mount-groups": ["el5"] }, { "name": "ohos.permission.ACCESS_FILE_CONTENT_SHARE", "sandbox-switch": "ON", "gids": ["file_manager", "user_data_rw"], "mount-paths": [{ "src-path": "/data/service/el2//file_monitor_service/content_share", "sandbox-path": "/storage/ContentShare" }] }, { "name": "ohos.permission.ACCESS_LOCAL_BACKUP", "sandbox-switch": "ON", "gids": ["media_rw"], "mount-paths": [{ "src-path": "/data/hwbackup", "sandbox-path": "/data/hwbackup" }] }, { "name": "ohos.permission.ACCESS_RINGTONE_RESOURCE", "sandbox-switch": "ON", "gids": ["user_data_rw"], "mount-paths": [{ "src-path": "/storage/media//local/files", "sandbox-path": "/storage/media/local/files" }] }, { "name": "ohos.permission.ACCESS_FACTORY_OTA_DIR", "sandbox-switch": "ON", "mount-paths": [{ "src-path": "/data/update/sd_package", "sandbox-path": "/data/update/sd_package" }] }, { "name": "ohos.permission.ACCESS_DLP_FILE", "sandbox-switch": "ON", "sandbox-shared" : "true", "mount-paths": [{ "src-path": "/mnt/data/", "sandbox-path": "/mnt/data", "category": "shared", "check-action-status": "true" }, { "src-path": "/dev/fuse", "sandbox-path": "/mnt/data/fuse", "category": "dlp_fuse" }], "mount-groups": ["dlpmgr"] }, { "name": "ohos.permission.GET_ALL_PROCESSES", "sandbox-switch": "ON", "gids" : ["readproc"], "mount-paths": [] }, { "name": "ohos.permission.ACCESS_ANALYTICS", "sandbox-switch": "ON", "gids" : ["log"], "mount-paths": [{ "src-path": "/data/log/faultlog/faultlogger", "sandbox-path": "/data/log/faultlog/faultlogger" }] }, { "name": "ohos.permission.RECEIVE_UPDATE_MESSAGE", "mount-paths": [{ "src-path": "/data/service/el1/public/update/param_service/install/system/etc/", "sandbox-path": "/data/service/el1/public/update/param_service/install/system/etc/" }] }, { "name": "ohos.permission.READ_WRITE_USER_FILE", "gids": ["file_manager"], "mount-paths":[], "mount-groups": ["Users", "user-public"] }], "spawn-flag": [{ "name": "START_FLAGS_BACKUP", "mount-paths": [{ "src-path": "/data/app/el2//base//.backup", "sandbox-path": "/data/storage/el2/backup" }, { "src-path": "/data/app/el1//base//.backup", "sandbox-path": "/data/storage/el1/backup" }], "mount-groups": [] }, { "name": "DLP_MANAGER", "mount-paths": [ { "src-path": "/data/app/el1//base/", "sandbox-path": "/data/storage/el1/base" }, { "src-path": "/data/app/el1//database/", "sandbox-path": "/data/storage/el1/database" }, { "src-path": "/data/app/el2//base/", "sandbox-path": "/data/storage/el2/base" }, { "src-path": "/data/app/el2//database/", "sandbox-path": "/data/storage/el2/database" }, { "src-path": "/data/app/el2//log/", "sandbox-path": "/data/storage/el2/log" }, { "src-path": "/mnt/share//", "sandbox-path": "/data/storage/el2/share" }], "mount-groups": [] }, { "name": "DEVELOPER_MODE", "mount-paths": [{ "src-path": "/data/app/el1/bundle//hnppublic", "sandbox-path": "/data/service/hnp" }, { "src-path" : "/data/app/el1/bundle//hnp/", "sandbox-path" : "/data/app" }] }, { "name": "PREINSTALLED_HAP", "mount-paths": [{ "src-path": "/system/app", "sandbox-path": "/system/app" }] }], "package-name": [{ "name": "com.ohos.medialibrary.medialibrarydata", "mount-paths" : [{ "src-path" : "/storage/media/", "sandbox-path" : "/storage/media" }, { "src-path" : "/data/service/el2//hmdfs/cache/account_cache", "sandbox-path" : "/data/service/el2//hmdfs/cache/account_cache" }, { "src-path" : "/storage/cloud/", "sandbox-path" : "/storage/cloud", "check-action-status": "true" }, { "src-path" : "none", "sandbox-path" : "/storage/cloud/epfs", "category": "epfs" }, { "src-path" : "/mnt/data/", "sandbox-path" : "/mnt/data/" }] }, { "name": "com.ohos.sceneboard", "sandbox-switch": "ON", "gids": ["data_reserve"], "mount-paths" : [{ "src-path" : "/data/app/el1/bundle/public/", "sandbox-path" : "/data/bundles/" }] }] }, "name-groups": [{ "name": "user-public", "type": "app-variable", "mount-paths": [{ "src-path": "/mnt/data//hmdfs", "sandbox-path": "/storage/hmdfs" }, { "src-path": "/mnt/data/external", "sandbox-path": "/storage/External" }] }, { "name": "Users", "type": "app-variable", "deps-mode": "not-exists", "mount-paths-deps": { "src-path": "/mnt/sandbox///storage/Users", "sandbox-path": "/storage/Users", "category": "shared" }, "mount-paths": [{ "src-path": "/storage/media//local/files/Docs", "sandbox-path": "/currentUser" }] }, { "name": "el2", "type": "app-variable", "deps-mode": "not-exists", "mount-paths-deps": { "src-path": "/mnt/sandbox///data/storage/el2", "sandbox-path": "/data/storage/el2", "category": "shared" }, "mount-paths": [{ "src-path": "/data/app/el2//base/", "sandbox-path": "/base" }, { "src-path": "/data/app/el2//database/", "sandbox-path": "/database" }, { "src-path": "/data/app/el2//log/", "sandbox-path": "/log" }, { "src-path": "/mnt/hmdfs//non_account/merge_view/data", "sandbox-path": "/auth_groups" }, { "src-path": "/mnt/hmdfs//account/merge_view/data/", "sandbox-path": "/distributedfiles" }, { "src-path": "/mnt/share//", "sandbox-path": "/share" }] }, { "name": "el3", "type": "app-variable", "deps-mode": "not-exists", "mount-paths-deps": { "src-path": "/mnt/sandbox///data/storage/el3", "sandbox-path": "/data/storage/el3", "category": "shared" }, "mount-paths": [{ "src-path": "/data/app/el3//base/", "sandbox-path": "/base" }, { "src-path": "/data/app/el3//database/", "sandbox-path": "/database" }] }, { "name": "el4", "type": "app-variable", "deps-mode": "not-exists", "mount-paths-deps": { "src-path": "/mnt/sandbox///data/storage/el4", "sandbox-path": "/data/storage/el4", "category": "shared" }, "mount-paths": [{ "src-path": "/data/app/el4//base/", "sandbox-path": "/base" }, { "src-path": "/data/app/el4//database/", "sandbox-path": "/database" }] }, { "name": "el5", "type": "app-variable", "deps-mode": "not-exists", "mount-paths-deps": { "src-path": "/mnt/sandbox///data/storage/el5", "sandbox-path": "/data/storage/el5", "category": "shared" }, "mount-paths": [{ "src-path": "/data/app/el5//base/", "sandbox-path": "/base" }, { "src-path": "/data/app/el5//database/", "sandbox-path": "/database" }] }, { "name": "HspList", "type": "app-variable", "mount-paths": [{ "src-path": "/data/app/el1/bundle/public///", "sandbox-path": "/data/storage/el2/group//" }] }, { "name": "DataGroup", "type": "app-variable", "mount-paths": [{ "src-path": "", "sandbox-path": "/data/storage/el2/group/" }] }, { "name": "Overlay", "type": "app-variable", "mount-paths": [{ "src-path": "", "sandbox-path": "/data/storage/overlay/", "category": "shared" }] }] }