Issue 15317: Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle (original) (raw)

Created on 2012-07-10 07:21 by tpievila, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg165171 - (view) Author: Tomi Pieviläinen (tpievila) Date: 2012-07-10 07:21
/usr/local/lib/python3.2/lib2to3/Grammar3.2.3.final.0.pickle is readable only by root after installing with make install from the source package. This makes at least installing distribute fail, and thus makes virtualenv, tox etc. unusable.
msg165172 - (view) Author: Tomi Pieviläinen (tpievila) Date: 2012-07-10 07:25
Also PatternGrammar3.2.3.final.0.pickle is missing the read permissions.
msg165443 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-07-14 12:44
How did you configure and build? If you ran make as root it may explain this.
msg165573 - (view) Author: Tomi Pieviläinen (tpievila) Date: 2012-07-16 06:38
On Sat, Jul 14, 2012 at 12:44:46PM +0000, Éric Araujo wrote: > > Éric Araujo <merwok@netwok.org> added the comment: > > How did you configure and build? If you ran make as root it may explain this. Indeed I did do it as root for all steps. The umask for root was 022, however.
msg404537 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2021-10-20 23:09
workaround: don't run make as root. run configure & make in a user account and only run your final make install as root after that. (sudo make install or whatnot) 2to3 and lib2to3 are deprecated so this won't be getting fixed (though it's more of a Makefile issue)
History
Date User Action Args
2022-04-11 14:57:32 admin set github: 59522
2021-10-20 23:09:41 gregory.p.smith set status: pending -> closednosy: + gregory.p.smithmessages: + resolution: wont fixstage: resolved
2021-10-20 23:03:54 gregory.p.smith link issue36313 superseder
2017-02-19 13:21:07 serhiy.storchaka set status: open -> pending
2012-07-16 06:38:51 tpievila set messages: +
2012-07-14 12:44:46 eric.araujo set nosy: + eric.araujomessages: +
2012-07-10 23:43:24 pitrou set nosy: + benjamin.peterson
2012-07-10 07:25:27 tpievila set messages: +
2012-07-10 07:21:17 tpievila create