加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appdata-sandbox-app.json 21.73 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
{
"global": {
"sandbox-root": "/mnt/sandbox/<currentUserId>/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",
"sandbox-path" : "/system/app"
}, {
"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/<lib>",
"sandbox-path" : "/vendor/<lib>"
}, {
"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/misc",
"sandbox-path" : "/data/storage/el1/bundle/misc"
}, {
"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/<currentUserId>/base/<variablePackageName>",
"sandbox-path" : "/data/storage/el1/base"
}, {
"src-path" : "/data/app/el1/<currentUserId>/database/<variablePackageName>",
"sandbox-path" : "/data/storage/el1/database"
}, {
"src-path" : "/data/app/el1/bundle/public/<PackageName>",
"sandbox-path" : "/data/storage/el1/bundle",
"check-action-status": "true"
}, {
"src-path" : "/data/local/ark-cache/<PackageName>",
"sandbox-path" : "/data/storage/ark-cache"
}, {
"src-path" : "/data/local/ark-profile/<currentUserId>/<PackageName>",
"sandbox-path" : "/data/storage/ark-profile"
}, {
"src-path" : "/data/local/shader_cache/local/<PackageName>",
"sandbox-path" : "/data/storage/shader_cache/local"
}, {
"src-path" : "/data/local/shader_cache/cloud/<PackageName>",
"sandbox-path" : "/data/storage/shader_cache/cloud"
}, {
"src-path" : "/mnt/share/<currentUserId>/<PackageName_index>",
"sandbox-path" : "/data/storage/el2/share"
}, {
"src-path" : "/data/service/el1/public/themes/<currentUserId>/a/app",
"sandbox-path" : "/data/themes/a/app"
}, {
"src-path" : "/data/service/el1/public/themes/<currentUserId>/b/app",
"sandbox-path" : "/data/themes/b/app"
}, {
"src-path" : "/data/service/el1/<currentUserId>/utdtypes/utd",
"sandbox-path" : "/data/utd"
}, {
"src-path" : "/data/app/el1/bundle/public/<arkWebPackageName>",
"sandbox-path" : "/mnt/nweb/tmp"
}, {
"src-path" : "/mnt/hmdfs/<currentUserId>",
"sandbox-path" : "/mnt/hmdfs/<currentUserId>"
}, {
"src-path" : "/mnt/hmdfs/<currentUserId>/cloud/data/<PackageName>",
"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/<currentUserId>/local/files/Docs",
"sandbox-path": "/storage/Users/<currentUserId>"
}, {
"src-path": "/storage/media/<currentUserId>/local/files/.Recent",
"sandbox-path": "/storage/Users/<currentUserId>/.Recent"
}],
"mount-groups": [ "user-public", "Users" ]
}, {
"name": "ohos.permission.READ_IMAGEVIDEO",
"sandbox-switch": "ON",
"gids": ["user_data_r"],
"mount-paths": [{
"src-path": "/storage/cloud/<currentUserId>/files/.thumbs/Photo",
"sandbox-path": "/storage/Share/.thumbs/Photo"
}]
}, {
"name": "ohos.permission.FILE_CROSS_APP",
"gids": ["file_manager"],
"mount-paths": [{
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
"sandbox-path": "/storage/Users/<currentUserId>"
}, {
"src-path": "/data/app/el1/<currentUserId>/base",
"sandbox-path": "/storage/Users/<currentUserId>/appdata/el1",
"category": "dac_override"
}, {
"src-path": "/data/app/el2/<currentUserId>/base",
"sandbox-path": "/storage/Users/<currentUserId>/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/<currentUserId>/a/system",
"sandbox-path": "/data/themes/a/system"
}, {
"src-path": "/data/service/el1/public/themes/<currentUserId>/b/system",
"sandbox-path": "/data/themes/b/system"
}, {
"src-path": "/data/service/el1/public/themes/<currentUserId>/fa",
"sandbox-path": "/data/themes/f"
}, {
"src-path": "/data/service/el1/public/themes/<currentUserId>/share",
"sandbox-path": "/data/themes/s"
}]
}, {
"name": "ohos.permission.GET_WALLPAPER",
"mount-paths": [{
"src-path": "/data/service/el1/public/wallpaper/<currentUserId>",
"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/<currentUserId>/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/<currentUserId>/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/<currentUserId>/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/<currentUserId>",
"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/<PackageName>",
"sandbox-path": "/data/service/el1/public/update/param_service/install/system/etc/<PackageName>"
}]
}],
"spawn-flag": [{
"name": "START_FLAGS_BACKUP",
"mount-paths": [{
"src-path": "/data/app/el2/<currentUserId>/base/<variablePackageName>/.backup",
"sandbox-path": "/data/storage/el2/backup"
}, {
"src-path": "/data/app/el1/<currentUserId>/base/<PackageName>/.backup",
"sandbox-path": "/data/storage/el1/backup"
}],
"mount-groups": []
}, {
"name": "DLP_MANAGER",
"mount-paths": [ {
"src-path": "/data/app/el1/<currentUserId>/base/<PackageName_index>",
"sandbox-path": "/data/storage/el1/base"
}, {
"src-path": "/data/app/el1/<currentUserId>/database/<PackageName_index>",
"sandbox-path": "/data/storage/el1/database"
}, {
"src-path": "/data/app/el2/<currentUserId>/base/<PackageName_index>",
"sandbox-path": "/data/storage/el2/base"
}, {
"src-path": "/data/app/el2/<currentUserId>/database/<PackageName_index>",
"sandbox-path": "/data/storage/el2/database"
}, {
"src-path": "/data/app/el2/<currentUserId>/log/<PackageName_index>",
"sandbox-path": "/data/storage/el2/log"
}, {
"src-path": "/mnt/share/<currentUserId>/<PackageName_index>",
"sandbox-path": "/data/storage/el2/share"
}],
"mount-groups": []
}, {
"name": "DEVELOPER_MODE",
"mount-paths": [{
"src-path": "/data/app/el1/bundle/<currentUserId>/hnppublic",
"sandbox-path": "/data/service/hnp"
}, {
"src-path" : "/data/app/el1/bundle/<currentUserId>/hnp/<PackageName>",
"sandbox-path" : "/data/app"
}
]}],
"package-name": [{
"name": "com.ohos.medialibrary.medialibrarydata",
"mount-paths" : [{
"src-path" : "/storage/media/<currentUserId>",
"sandbox-path" : "/storage/media"
}, {
"src-path" : "/data/service/el2/<currentUserId>/hmdfs/cache/account_cache",
"sandbox-path" : "/data/service/el2/<currentUserId>/hmdfs/cache/account_cache"
}, {
"src-path" : "/storage/cloud/<currentUserId>",
"sandbox-path" : "/storage/cloud",
"check-action-status": "true"
}, {
"src-path" : "none",
"sandbox-path" : "/storage/cloud/epfs",
"category": "epfs"
}, {
"src-path" : "/mnt/data/<currentUserId>",
"sandbox-path" : "/mnt/data/<currentUserId>"
}]
}, {
"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": "/data/service/el1/public/storage_daemon/share/public",
"sandbox-path": "/storage/Share"
}, {
"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/<currentUserId>/<PackageName>/storage/Users",
"sandbox-path": "/storage/Users",
"category": "shared"
},
"mount-paths": [{
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
"sandbox-path": "<deps-path>/currentUser"
}]
}, {
"name": "el2",
"type": "app-variable",
"deps-mode": "not-exists",
"mount-paths-deps": {
"src-path": "/mnt/sandbox/<currentUserId>/<PackageName>/data/storage/el2",
"sandbox-path": "/data/storage/el2",
"category": "shared"
},
"mount-paths": [{
"src-path": "/data/app/el2/<currentUserId>/base/<variablePackageName>",
"sandbox-path": "<deps-path>/base"
}, {
"src-path": "/data/app/el2/<currentUserId>/database/<variablePackageName>",
"sandbox-path": "<deps-path>/database"
}, {
"src-path": "/data/app/el2/<currentUserId>/log/<variablePackageName>",
"sandbox-path": "<deps-path>/log"
}, {
"src-path": "/mnt/hmdfs/<currentUserId>/non_account/merge_view/data",
"sandbox-path": "<deps-path>/auth_groups"
}, {
"src-path": "/mnt/hmdfs/<currentUserId>/account/merge_view/data/<PackageName>",
"sandbox-path": "<deps-path>/distributedfiles"
}, {
"src-path": "/mnt/share/<currentUserId>/<PackageName_index>",
"sandbox-path": "<deps-path>/share"
}]
}, {
"name": "el3",
"type": "app-variable",
"deps-mode": "not-exists",
"mount-paths-deps": {
"src-path": "/mnt/sandbox/<currentUserId>/<PackageName>/data/storage/el3",
"sandbox-path": "/data/storage/el3",
"category": "shared"
},
"mount-paths": [{
"src-path": "/data/app/el3/<currentUserId>/base/<variablePackageName>",
"sandbox-path": "<deps-path>/base"
}, {
"src-path": "/data/app/el3/<currentUserId>/database/<variablePackageName>",
"sandbox-path": "<deps-path>/database"
}]
}, {
"name": "el4",
"type": "app-variable",
"deps-mode": "not-exists",
"mount-paths-deps": {
"src-path": "/mnt/sandbox/<currentUserId>/<PackageName>/data/storage/el4",
"sandbox-path": "/data/storage/el4",
"category": "shared"
},
"mount-paths": [{
"src-path": "/data/app/el4/<currentUserId>/base/<variablePackageName>",
"sandbox-path": "<deps-path>/base"
}, {
"src-path": "/data/app/el4/<currentUserId>/database/<variablePackageName>",
"sandbox-path": "<deps-path>/database"
}]
}, {
"name": "el5",
"type": "app-variable",
"deps-mode": "not-exists",
"mount-paths-deps": {
"src-path": "/mnt/sandbox/<currentUserId>/<PackageName>/data/storage/el5",
"sandbox-path": "/data/storage/el5",
"category": "shared"
},
"mount-paths": [{
"src-path": "/data/app/el5/<currentUserId>/base/<variablePackageName>",
"sandbox-path": "<deps-path>/base"
}, {
"src-path": "/data/app/el5/<currentUserId>/database/<variablePackageName>",
"sandbox-path": "<deps-path>/database"
}]
}, {
"name": "HspList",
"type": "app-variable",
"mount-paths": [{
"src-path": "/data/app/el1/bundle/public/<bundle-name>/<version>/<module-name>",
"sandbox-path": "/data/storage/el2/group/<bundle-name>/<module-name>"
}]
}, {
"name": "DataGroup",
"type": "app-variable",
"mount-paths": [{
"src-path": "<data-dir>",
"sandbox-path": "/data/storage/el2/group/<data-uuid>"
}]
}, {
"name": "Overlay",
"type": "app-variable",
"mount-paths": [{
"src-path": "<hap-path>",
"sandbox-path": "/data/storage/overlay/<hap-name>",
"category": "shared"
}]
}]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化