diff options
Diffstat (limited to 'src/common/file_perm.c')
-rw-r--r-- | src/common/file_perm.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/common/file_perm.c b/src/common/file_perm.c new file mode 100644 index 00000000000..fdfbb9a44c4 --- /dev/null +++ b/src/common/file_perm.c @@ -0,0 +1,19 @@ +/*------------------------------------------------------------------------- + * + * File and directory permission routines + * + * + * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * src/include/common/file_perm.c + * + *------------------------------------------------------------------------- + */ +#include <sys/stat.h> + +#include "common/file_perm.h" + +/* Modes for creating directories and files in the data directory */ +int pg_dir_create_mode = PG_DIR_MODE_OWNER; +int pg_file_create_mode = PG_FILE_MODE_OWNER; |