Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle #59522

Closed
tpievila mannequin opened this issue Jul 10, 2012 · 5 comments
Closed

Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle #59522

tpievila mannequin opened this issue Jul 10, 2012 · 5 comments
Labels
topic-installation type-bug An unexpected behavior, bug, or error

Comments

@tpievila
Copy link
Mannequin

tpievila mannequin commented Jul 10, 2012

BPO 15317
Nosy @gpshead, @benjaminp, @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2021-10-20.23:09:41.425>
created_at = <Date 2012-07-10.07:21:17.211>
labels = ['type-bug', 'expert-installation']
title = 'Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle'
updated_at = <Date 2021-10-20.23:09:41.423>
user = 'https://bugs.python.org/tpievila'

bugs.python.org fields:

activity = <Date 2021-10-20.23:09:41.423>
actor = 'gregory.p.smith'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-20.23:09:41.425>
closer = 'gregory.p.smith'
components = ['Installation']
creation = <Date 2012-07-10.07:21:17.211>
creator = 'tpievila'
dependencies = []
files = []
hgrepos = []
issue_num = 15317
keywords = []
message_count = 5.0
messages = ['165171', '165172', '165443', '165573', '404537']
nosy_count = 4.0
nosy_names = ['gregory.p.smith', 'benjamin.peterson', 'eric.araujo', 'tpievila']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue15317'
versions = ['Python 3.2']

@tpievila
Copy link
Mannequin Author

tpievila mannequin commented Jul 10, 2012

/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.

@tpievila tpievila mannequin added topic-installation type-bug An unexpected behavior, bug, or error labels Jul 10, 2012
@tpievila
Copy link
Mannequin Author

tpievila mannequin commented Jul 10, 2012

Also PatternGrammar3.2.3.final.0.pickle is missing the read permissions.

@merwok
Copy link
Member

merwok commented Jul 14, 2012

How did you configure and build? If you ran make as root it may explain this.

@tpievila
Copy link
Mannequin Author

tpievila mannequin commented Jul 16, 2012

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.

@gpshead
Copy link
Member

gpshead commented Oct 20, 2021

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)

@gpshead gpshead closed this as completed Oct 20, 2021
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants