add log tmp permission