PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | SetDataDirectoryCreatePerm (int dataDirMode) |
Variables | |
int | pg_dir_create_mode = PG_DIR_MODE_OWNER |
int | pg_file_create_mode = PG_FILE_MODE_OWNER |
int | pg_mode_mask = PG_MODE_MASK_OWNER |
void SetDataDirectoryCreatePerm | ( | int | dataDirMode | ) |
Definition at line 34 of file file_perm.c.
References pg_dir_create_mode, PG_DIR_MODE_GROUP, PG_DIR_MODE_OWNER, pg_file_create_mode, PG_FILE_MODE_GROUP, PG_FILE_MODE_OWNER, pg_mode_mask, PG_MODE_MASK_GROUP, and PG_MODE_MASK_OWNER.
Referenced by check_input_dir_permissions(), checkDataDir(), main(), and RetrieveDataDirCreatePerm().
int pg_dir_create_mode = PG_DIR_MODE_OWNER |
Definition at line 18 of file file_perm.c.
Referenced by checkDataDir(), convert_link_to_directory(), create_data_directory(), create_fullpage_directory(), create_output_directory(), create_tablespace_directories(), create_target_dir(), create_xlog_or_symlink(), extract_directory(), initialize_data_directory(), main(), make_outputdirs(), MakePGDirectory(), process_directory_recursively(), recovery_create_dbdir(), SetDataDirectoryCreatePerm(), setup_config(), StartLogStreamer(), TablespaceCreateDbspace(), and verify_dir_is_empty_or_create().
int pg_file_create_mode = PG_FILE_MODE_OWNER |
Definition at line 19 of file file_perm.c.
Referenced by astreamer_inject_file(), BasicOpenFile(), check_copy_file_range(), check_file_clone(), cloneFile(), copy_file_blocks(), copy_file_by_range(), copy_file_clone(), copyFile(), copyFileByRange(), CreateLockFile(), dir_open_for_write(), flush_manifest(), open_target_file(), OpenTransientFile(), PathNameOpenFile(), rewriteVisibilityMap(), sendFileWithContent(), SetDataDirectoryCreatePerm(), setup_config(), tar_open_for_write(), truncate_target_file(), update_controlfile(), write_backup_label(), write_reconstructed_file(), and WriteEmptyXLOG().
int pg_mode_mask = PG_MODE_MASK_OWNER |
Definition at line 25 of file file_perm.c.
Referenced by checkDataDir(), initialize_data_directory(), main(), SetDataDirectoryCreatePerm(), and update_metainfo_datafile().