bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mkstemp


From: Reuben Thomas
Subject: mkstemp
Date: Wed, 27 Apr 2011 00:54:13 +0100

>From mkstemp(3):

       More generally, the POSIX specification of mkstemp() does not
say anything about file modes,
       so the application should make sure its file mode creation mask
(see umask(2)) is set
       appropriately before calling mkstemp() (and mkostemp()).

Does setting a 0600 umask (as glibc does) sound like a good thing to
add to the mkstemp-safer functions?

-- 
http://rrt.sc3d.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]