fix log permissions

fix log permissions