On 25Jul2013 17:26, Antoine Pitrou <[email protected]> wrote:
| Le Thu, 25 Jul 2013 12:08:18 +1000,
| Ben Finney <[email protected]> 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 <[email protected]>

Cordless hoses have been around for quite some time. They're called buckets.
        - Dan Prener <[email protected]>
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to