[AE-723] delete folders after uninstallation, fix /home/spark/logs/ directory permission and owner