From 247c30d6dfe10bb9fbbaf8a21f13c67aea9b2acf Mon Sep 17 00:00:00 2001
From: zhongtao <zhongtao17@huawei.com>
Date: Sat, 9 Sep 2023 08:11:06 +0000
Subject: [PATCH 145/145] !2179 modify the permissions of tmpdir and file lock
 to 600 Merge pull request !2179 from zhongtao/mode

---
 src/common/constants.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/constants.h b/src/common/constants.h
index efb2951a..94bc9886 100644
--- a/src/common/constants.h
+++ b/src/common/constants.h
@@ -50,7 +50,7 @@ extern "C" {
 
 #define TEMP_DIRECTORY_MODE 0700
 
-#define ISULAD_TEMP_DIRECTORY_MODE 0660
+#define ISULAD_TEMP_DIRECTORY_MODE 0600
 
 #define CONSOLE_FIFO_DIRECTORY_MODE 0770
 
@@ -70,7 +70,7 @@ extern "C" {
 
 #define DEFAULT_HIGHEST_DIRECTORY_MODE 0755
 
-#define MOUNT_FLOCK_FILE_MODE 0660
+#define MOUNT_FLOCK_FILE_MODE 0600
 
 #define ISULAD_CONFIG SYSCONFDIR_PREFIX"/etc/isulad"
 
-- 
2.40.1

