From 05d336c8e9e99e890bd35f83f57e2066104fae76 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Tue, 24 Aug 2021 12:45:11 +0200 Subject: [PATCH] Update block_cache.cpp --- src/block_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block_cache.cpp b/src/block_cache.cpp index a59fce5..f37df81 100644 --- a/src/block_cache.cpp +++ b/src/block_cache.cpp @@ -35,7 +35,7 @@ struct BlockCache::Impl Impl() { - m_fd = open(cache_name, O_RDWR | O_CREAT); + m_fd = open(cache_name, O_RDWR | O_CREAT, static_cast(0600)); if (m_fd == -1) { LOGERR(1, "couldn't open/create " << cache_name); return;