diff --git a/tests/scripts/mariadb_foundationdb-7.3.43_gcc.patch b/tests/scripts/mariadb_foundationdb-7.3.43_gcc.patch index 71a994dcd..b3422fe5f 100644 --- a/tests/scripts/mariadb_foundationdb-7.3.43_gcc.patch +++ b/tests/scripts/mariadb_foundationdb-7.3.43_gcc.patch @@ -6,7 +6,6 @@ - self->lfd = open(self->file.fileName.c_str(), O_WRONLY | O_CREAT | O_TRUNC); + self->lfd = open(self->file.fileName.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0600); - if (self->lfd == -1) { TraceEvent(SevError, "OpenLocalFileFailed").detail("File", self->file.fileName); throw platform_error();