Create requred folders and set correct permission before we start daemons