24 #define PG_MODE_MASK_OWNER (S_IRWXG | S_IRWXO)
29 #define PG_MODE_MASK_GROUP (S_IWGRP | S_IRWXO)
32 #define PG_DIR_MODE_OWNER S_IRWXU
35 #define PG_DIR_MODE_GROUP (S_IRWXU | S_IRGRP | S_IXGRP)
38 #define PG_FILE_MODE_OWNER (S_IRUSR | S_IWUSR)
41 #define PG_FILE_MODE_GROUP (S_IRUSR | S_IWUSR | S_IRGRP)
bool GetDataDirectoryCreatePerm(const char *dataDir)
PGDLLIMPORT int pg_mode_mask
PGDLLIMPORT int pg_file_create_mode
PGDLLIMPORT int pg_dir_create_mode
void SetDataDirectoryCreatePerm(int dataDirMode)