[Distutils] permission / umask on install?

Georg gwk.rko at googlemail.com
Thu Oct 26 22:44:47 CEST 2006


Hi,

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?

--
Regards,
Georg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20061026/7ea524bd/attachment.html 


More information about the Distutils-SIG mailing list