use the orig_umask when choosing perms for the log file.