[issue15890] lib2to3 pickles created with wrong permissions

Tomi Pieviläinen report at bugs.python.org
Mon Sep 10 08:23:01 CEST 2012


Tomi Pieviläinen added the comment:

> Tomi, do you find a different behavior in 3.2?

No, the behaviour is the same in 2.6-3.2: no compiled files have permissions for other than root, and all non-compiled files do (because install is run with "-m 644"). What made me report this bug was that 3.3rc1 does not have this behaviour: while the pickles had a bad timestamp, the permissions were just fine, so I assumed that someone had changed the this intentionally.

Also this hasn't been a problem in Python2.x. I can install 2.6.8 and 2.7.3 from source without fixing any permissions, and still have a working Python installation. 3.2.3 requires chmoding the lib2to3 pickles, but no other compiled files need to be touched (it seems that they aren't really needed).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15890>
_______________________________________


More information about the Python-bugs-list mailing list