in reply to Re: fork process + SIG handlers
in thread fork process + SIG handlers

umask 0;
Wouldn't it be safer to set umask 002 at least? I don't think it's a good idea to create world-writable files.

Replies are listed 'Best First'.
Re^3: fork process + SIG handlers
by tachyon (Chancellor) on Dec 04, 2004 at 23:36 UTC

    You are right. Perhaps I should have added an YMMV ;-)