Fix permisssions for elasticsearch

Without this you can end up with ES working the first time you install
but after a reboot it won't start again