Ensure some permissions
Run the basebackup command as the postgres user