!709 PC需求-增加Docs和Desktop

Merge pull request !709 from onexiaomin/master
This commit is contained in:
openharmony_ci 2023-08-07 13:35:30 +00:00 committed by Gitee
commit b0e3c57563
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -502,51 +502,53 @@
}] }]
}] }]
}], }],
"permission":[ "permission":[{
{ "ohos.permission.FILE_ACCESS_MANAGER":[{
"ohos.permission.FILE_ACCESS_MANAGER":[
{
"sandbox-switch": "ON", "sandbox-switch": "ON",
"sandbox-root": "/mnt/sandbox/<PackageName>", "sandbox-root": "/mnt/sandbox/<PackageName>",
"gids": [1006, 1008], "gids": [1006, 1008],
"mount-paths": [ "mount-paths": [{
{ "src-path": "/data/service/el1/public/storage_daemon/share/public",
"src-path": "/data/service/el1/public/storage_daemon/share/public", "sandbox-path": "/storage/Share",
"sandbox-path": "/storage/Share", "sandbox-flags": [ "bind", "rec" ]
"sandbox-flags": [ "bind", "rec" ] },
},
{
"src-path": "/mnt/data/external",
"sandbox-path": "/storage/External",
"sandbox-flags": [ "bind", "rec" ]
},
{
"src-path": "/storage/media/<currentUserId>/local/files/Documents",
"sandbox-path": "/storage/local/Documents",
"sandbox-flags": [ "bind", "rec" ]
},
{
"src-path": "/storage/media/<currentUserId>/local/files/Download",
"sandbox-path": "/storage/local/Download",
"sandbox-flags": [ "bind", "rec" ]
}
]
}
],
"ohos.permission.READ_IMAGEVIDEO":[
{
"sandbox-switch": "ON",
"sandbox-root": "/mnt/sandbox/<PackageName>",
"gids": [1008],
"mount-paths": [
{ {
"src-path": "/storage/media/<currentUserId>/local/files/.thumbs/Photo", "src-path": "/mnt/data/external",
"sandbox-path": "/storage/Share/.thumbs/Photo", "sandbox-path": "/storage/External",
"sandbox-flags": [ "bind", "rec" ] "sandbox-flags": [ "bind", "rec" ]
},
{
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
"sandbox-path": "/storage/Users/currentUserId",
"sandbox-flags": [ "bind", "rec" ]
},
{
"src-path": "/storage/media/<currentUserId>/local/files/Download",
"sandbox-path": "/storage/Users/currentUserId/Download",
"sandbox-flags": ["bind", "rec" ]
},
{
"src-path": "/storage/media/<currentUserId>/local/files/Desktop",
"sandbox-path": "/storage/Users/currentUserId/Desktop",
"sandbox-flags": ["bind", "rec" ]
},
{
"src-path": "/storage/media/<currentUserId>/local/files/Documents",
"sandbox-path": "/storage/Users/currentUserId/Documents",
"sandbox-flags": ["bind", "rec" ]
} }
] ]
} }],
] "ohos.permission.READ_IMAGEVIDEO":[{
} "sandbox-switch": "ON",
] "sandbox-root": "/mnt/sandbox/<PackageName>",
"gids": [1008],
"mount-paths": [{
"src-path": "/storage/media/<currentUserId>/local/files/.thumbs/Photo",
"sandbox-path": "/storage/Share/.thumbs/Photo",
"sandbox-flags": [ "bind", "rec" ]
}
]
}]
}]
} }