From 6166b9d370d7c83c72d23beb531ded44e71619e6 Mon Sep 17 00:00:00 2001 From: yyh Date: Tue, 10 Dec 2024 20:30:55 +0800 Subject: [PATCH] Description:add pasteboard file path Feature or Bugfix:Bugfix Bunary Source:No Signed-off-by: yyh --- services/storage_daemon/include/user/mount_manager.h | 1 + services/storage_daemon/user/src/mount_manager.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/services/storage_daemon/include/user/mount_manager.h b/services/storage_daemon/include/user/mount_manager.h index d2b71311..4cbd907e 100644 --- a/services/storage_daemon/include/user/mount_manager.h +++ b/services/storage_daemon/include/user/mount_manager.h @@ -63,6 +63,7 @@ constexpr uid_t OID_CLOUD_BACK = 5206; constexpr uid_t OID_AV_SESSION = 6700; constexpr uid_t USER_ID_BASE = 200000; constexpr uid_t OID_FOUNDATION = 5523; +constexpr uid_t OID_PASTEBOARD = 3816; constexpr uid_t OID_PRINT = 3823; class MountManager final { diff --git a/services/storage_daemon/user/src/mount_manager.cpp b/services/storage_daemon/user/src/mount_manager.cpp index f8bfa6c7..48cae119 100644 --- a/services/storage_daemon/user/src/mount_manager.cpp +++ b/services/storage_daemon/user/src/mount_manager.cpp @@ -194,7 +194,9 @@ std::vector MountManager::InitSystemServiceDir() {"/data/service/el2/%d/iShare", MODE_0711, OID_COLLABORATION_FWK, OID_COLLABORATION_FWK}, {"/data/service/el2/%d/av_session", MODE_0711, OID_AV_SESSION, OID_AV_SESSION}, {"/data/service/el2/%d/file_transfer_service", MODE_0711, 7017, 7017}, - {"/data/service/el2/%d/print_service", MODE_0711, OID_PRINT, OID_PRINT}}; + {"/data/service/el2/%d/print_service", MODE_0711, OID_PRINT, OID_PRINT}, + {"/data/service/el2/%d/database", MODE_0711, OID_DDMS, OID_DDMS}, + {"/data/service/el2/%d/database/pasteboard_service", MODE_0771, OID_PASTEBOARD, OID_DDMS}}; } std::vector MountManager::InitFileManagerDir() -- Gitee