On Wed, Oct 10, 2012 at 1:31 PM, Tobias Burnus wrote:
> Depending on the system mkstemp might create the scratch files with 0666
> permission (e.g. glibc <= 2.06); for security reasons, it should use 0600.
> Thus, one is supposed to set a umask before calling the function (see, e.g.,
> the Linux
Depending on the system mkstemp might create the scratch files with 0666
permission (e.g. glibc <= 2.06); for security reasons, it should use
0600. Thus, one is supposed to set a umask before calling the function
(see, e.g., the Linux man page for mkstemp).
Build and regtested on x86-64-linux