def __set_group_permissions(self) -> None:
        """Make directories/files accessible by the owner and readable by group."""
        self.__pg_dir_create_mode = self.__PG_DIR_MODE_GROUP
        self.__pg_file_create_mode = self.__PG_FILE_MODE_GROUP
        self.__pg_mode_mask = self.__PG_MODE_MASK_GROUP
Make directories/files accessible by the owner and readable by group.
patroni/file_perm.py