master: fix log format and var
master: fix permission