From 1112b6c31ab7aec7f569c4ee221a6aca02e1bc86 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Fri, 17 Apr 2020 12:23:07 +0200 Subject: [PATCH] Add read to others --- core-buffer/src/BinaryWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-buffer/src/BinaryWriter.cpp b/core-buffer/src/BinaryWriter.cpp index 4adcb37..633383f 100644 --- a/core-buffer/src/BinaryWriter.cpp +++ b/core-buffer/src/BinaryWriter.cpp @@ -90,7 +90,7 @@ void BinaryWriter::open_file(const std::string& filename) WriterUtils::create_destination_folder(filename); output_file_fd_ = ::open(filename.c_str(), O_WRONLY | O_CREAT | O_DSYNC, - S_IRWXU | S_IWUSR | S_IRGRP | S_IWGRP); + S_IRWXU | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH); if (output_file_fd_ < 0) { stringstream err_msg;