On Fri, Oct 22, 2010 at 1:35 PM, walter harms <[email protected]> wrote:
> from the man page:
>
>       More generally, the POSIX specification of mkstemp() does not say  any-
>       thing  about  file  modes, so the application should make sure its file
>       mode creation mask (see umask(2)) is set appropriately  before  calling
>       mkstemp()
>
> perhaps a umask(0077) is missing?

But how mkstemp() knows what would be an "appropriate" umask?
Only caller knows that.
-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to