From d080161b155b981b5da7df7dcffd968aaea31106 Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Mon, 6 Apr 2009 16:16:40 +0000 Subject: [PATCH] Use same access rights for CS and SS when creating database file --- src/jrd/os/posix/unix.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jrd/os/posix/unix.cpp b/src/jrd/os/posix/unix.cpp index 6f722abad9..43b489d242 100644 --- a/src/jrd/os/posix/unix.cpp +++ b/src/jrd/os/posix/unix.cpp @@ -106,11 +106,7 @@ using namespace Firebird; #define O_BINARY 0 #endif -#ifdef SUPERSERVER -#define MASK 0600 -#else -#define MASK 0660 -#endif +static const mode_t MASK = 0660; #define FCNTL_BROKEN // please undefine FCNTL_BROKEN for operating systems,