diff --git a/src/algorithms/PVT/libs/kml_printer.cc b/src/algorithms/PVT/libs/kml_printer.cc index 2435f7e57..335fc0fee 100644 --- a/src/algorithms/PVT/libs/kml_printer.cc +++ b/src/algorithms/PVT/libs/kml_printer.cc @@ -110,6 +110,7 @@ Kml_Printer::Kml_Printer(const std::string& base_path) { close(fd); } + umask(mask); fs::path tmp_filename = fs::path(tmp_filename_); tmp_file_str = tmp_filename.string();