fix permissions and replace default solr.xml file