New submission from Tomi Pieviläinen: The fix of #15822 caused another break. After installing 3.3rc2 from source, ls -ltc --full-time /usr/local/lib/python3.3/lib2to3/ shows:
-rw-------. 1 root root 1455 2012-09-09 20:55:36.475519602 +0300 PatternGrammar3.3.0.candidate.2.pickle -rw-------. 1 root root 20862 2012-09-09 20:55:36.425520211 +0300 Grammar3.3.0.candidate.2.pickle drwx------. 2 root root 4096 2012-09-09 20:55:33.681520171 +0300 __pycache__/ drwxr-xr-x. 4 root root 4096 2012-09-09 20:55:30.087520195 +0300 tests/ drwxr-xr-x. 3 root root 4096 2012-09-09 20:55:30.063457702 +0300 pgen2/ drwxr-xr-x. 3 root root 4096 2012-09-09 20:55:30.028520614 +0300 fixes/ -rw-r--r--. 1 root root 28046 2012-09-09 20:55:09.319519773 +0300 refactor.py -rw-r--r--. 1 root root 28386 2012-09-09 20:55:09.279456945 +0300 pytree.py -rw-r--r--. 1 root root 1114 2012-09-09 20:55:09.242458183 +0300 pygram.py -rw-r--r--. 1 root root 793 2012-09-09 20:55:09.205457004 +0300 PatternGrammar.txt -rw-r--r--. 1 root root 7075 2012-09-09 20:55:09.168457078 +0300 patcomp.py -rw-r--r--. 1 root root 11624 2012-09-09 20:55:09.131457019 +0300 main.py -rw-r--r--. 1 root root 67 2012-09-09 20:55:09.091644598 +0300 __main__.py -rw-r--r--. 1 root root 7 2012-09-09 20:55:09.052457036 +0300 __init__.py -rw-r--r--. 1 root root 6589 2012-09-09 20:55:09.014519602 +0300 Grammar.txt -rw-r--r--. 1 root root 14533 2012-09-09 20:55:08.977519642 +0300 fixer_util.py -rw-r--r--. 1 root root 6706 2012-09-09 20:55:08.940519615 +0300 fixer_base.py -rw-r--r--. 1 root root 10011 2012-09-09 20:55:08.903519608 +0300 btm_utils.py -rw-r--r--. 1 root root 6833 2012-09-09 20:55:08.865457147 +0300 btm_matcher.py The pickles are now correctly newer than the Grammar texts, but are readable only by root. Quick chmod fixes this, but has to be done manually on systems with strict UMASK for root. ---------- components: 2to3 (2.x to 3.x conversion tool) messages: 170124 nosy: tpievila priority: normal severity: normal status: open title: lib2to3 pickles created with wrong permissions versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com