STINNER Victor <[EMAIL PROTECTED]> added the comment:
install() method of the install_lib command
(Lib/distutils/command/install_lib.py) calls self.copy_tree() which
calls copy_tree() from Lib/distutils/dir_util.py. By default, this
function preserve the modes (perserve_mode=1 by default). Or the build
created a directory with permissions "drwx------".
I wrote that only lib-dynload directory has a problem. But other files
are install with permissions -rw-------:
- .../lib/python?.?/*.{pyc,pyo}
- .../lib/python?.?/lib2to3/PatternGrammar*.pickle
- .../lib/python?.?/lib2to3/Grammar*.pickle
- .../lib/python?.?/lib-dynload/Python*.egg-info
----------
components: +Distutils -Library (Lib)
versions: +Python 2.6, Python 2.7, Python 3.1
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com