From 246936401e92400883be2242951f3104c6b94490 Mon Sep 17 00:00:00 2001 From: zph Date: Mon, 25 Nov 2024 22:17:57 +0800 Subject: [PATCH] cherry pick 3d7b1a4 from https://gitee.com/zph000/filemanagement_storage_service/pulls/1555 update Signed-off-by: zph --- services/storage_daemon/include/user/mount_manager.h | 1 + services/storage_daemon/user/src/user_manager.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/storage_daemon/include/user/mount_manager.h b/services/storage_daemon/include/user/mount_manager.h index d54e890c..912cb166 100644 --- a/services/storage_daemon/include/user/mount_manager.h +++ b/services/storage_daemon/include/user/mount_manager.h @@ -58,6 +58,7 @@ constexpr uid_t OID_HIVIEW = 1201; constexpr uid_t OID_PARENT_CONTROL = 7007; constexpr uid_t OID_AV_SESSION = 6700; constexpr uid_t USER_ID_BASE = 200000; +constexpr uid_t OID_FOUNDATION = 5523; class MountManager final { public: diff --git a/services/storage_daemon/user/src/user_manager.cpp b/services/storage_daemon/user/src/user_manager.cpp index c5fd117f..a23cec41 100644 --- a/services/storage_daemon/user/src/user_manager.cpp +++ b/services/storage_daemon/user/src/user_manager.cpp @@ -47,7 +47,8 @@ UserManager::UserManager() {"/data/app/el2/%d/log", MODE_0711, OID_ROOT, OID_ROOT}}, el1DirVec_{{"/data/service/el1/%d/distributeddata", MODE_0711, OID_DDMS, OID_DDMS}, {"/data/service/el1/%d/backup", MODE_02771, OID_BACKUP, OID_BACKUP}, - {"/data/service/el1/%d/backup/bundles", MODE_0711, OID_BACKUP, OID_BACKUP}} + {"/data/service/el1/%d/backup/bundles", MODE_0711, OID_BACKUP, OID_BACKUP}, + {"/data/service/el1/%d/utdtypes", MODE_0711, OID_FOUNDATION, OID_FOUNDATION}} { } -- Gitee