Fix log file perms.

[merge]