Add read to others

This commit is contained in:
2020-04-17 12:23:07 +02:00
parent 52ced2a33c
commit 1112b6c31a
+1 -1
View File
@@ -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;