fix log dir permission