On 25Jul2013 17:26, Antoine Pitrou <solip...@pitrou.net> wrote: | Le Thu, 25 Jul 2013 12:08:18 +1000, | Ben Finney <ben+pyt...@benfinney.id.au> a écrit : | > Work continues on the PEP 3143-compatible ‘python-daemon’, porting it | > to Python 3 and aiming for inclusion in the standard library. | | The PEP hasn't been formally accepted yet, however. | Skimming back through the archives, one sticking point was the default | value of the "umask" parameter. Setting the umask to 0 if the user | didn't ask for something else is a disaster, security-wise.
I have to say, +10 here. I have always found the convention that daemons have a umask of 0 to be utterly bogus, because almost all library code relies on the umask to set default security policy for initial file permissions. Prone to rant on this at length if required... Cheers, -- Cameron Simpson <c...@zip.com.au> Cordless hoses have been around for quite some time. They're called buckets. - Dan Prener <pre...@watson.ibm.com> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com