def __set_owner_permissions(self) -> None:
        """Make directories/files accessible only by the owner."""
        self.__pg_dir_create_mode = self.__PG_DIR_MODE_OWNER
        self.__pg_file_create_mode = self.__PG_FILE_MODE_OWNER
        self.__pg_mode_mask = self.__PG_MODE_MASK_OWNER
Make directories/files accessible only by the owner.
patroni/file_perm.py