[#2212] CID26203:

set umask before calling mkstemp