Better checking for permissions when running Solr_configure