diff --git a/src/functions/BackupFunction.cpp b/src/functions/BackupFunction.cpp index c71edd6..4e9d075 100644 --- a/src/functions/BackupFunction.cpp +++ b/src/functions/BackupFunction.cpp @@ -68,7 +68,7 @@ RUN_ASYNC(const std::string &partitionName, const std::string &outputName, false}; const int ffd = Helper::openAndAddToCloseList( - outputName, collector, O_WRONLY | O_CREAT | O_TRUNC); + outputName, collector, O_WRONLY | O_CREAT | O_TRUNC, 0644); if (ffd < 0) return {format("Can't create/open output file %s: %s", outputName.data(), strerror(errno)),