From de1cb5dd5a500bd25fb96473cbc0ba802903b3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1z=20Zengin?= Date: Sun, 7 Sep 2025 21:55:53 +0300 Subject: [PATCH] pmt: Fixup backup function --- src/functions/BackupFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)),