Message285155
I don't understand the problem with umask(). It's standard and affect all
code even C extension calling directly or indirectly open(). It is more
secure to use umask() than setting mode on a few Python open() calls no?
For example, Python creates .pyc files. You cannot (easily) modify the
open() call to set mode, whereas it is affected by umask().
If you call umask() at startup, it affects all threads, there is no race
condition like open()+fchmod(). |
|
Date |
User |
Action |
Args |
2017-01-10 21:11:59 | vstinner | set | recipients:
+ vstinner, brett.cannon, christian.heimes, socketpair, serhiy.storchaka |
2017-01-10 21:11:59 | vstinner | link | issue29214 messages |
2017-01-10 21:11:59 | vstinner | create | |
|