add specific tmp dirs for log and cache