[Distutils] permission / umask on install?
gwk.rko at googlemail.com
Thu Oct 26 22:44:47 CEST 2006
I was somewhat surprised to find that distutils on install does honor the
current umask. If run as root and root's umask is 027 (a common case
nowadays), stuff will be installed as non world readable / executable.
Compare this to install(1)'s behavior on Unix.
Shouldn't the default be to DTRT on Unix? Or shouldn't there be at least an
option to specify the target permissions for data and executable files?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG