Adjust permissions of log dir