fix permissions after creating postgresql data direcory