use mkstemp on systems that have it
[mmh] / mts /
drwxr-xr-x   ..
-rw-r--r-- 2151 Makefile.in
drwxr-xr-x - mmdf
drwxr-xr-x - sendmail
drwxr-xr-x - smtp