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

IDLE.app permissions are not set on installation #111015

Closed
jmroot opened this issue Oct 18, 2023 · 0 comments · Fixed by #111016
Closed

IDLE.app permissions are not set on installation #111015

jmroot opened this issue Oct 18, 2023 · 0 comments · Fixed by #111016
Labels
build The build process and cross-build OS-mac type-bug An unexpected behavior, bug, or error

Comments

@jmroot
Copy link
Contributor

jmroot commented Oct 18, 2023

Bug report

Bug description:

The install_IDLE target in Mac/Makefile.in creates IDLE.app in the destination like this:

/bin/cp -PR "$(srcdir)/IDLE/IDLE.app" "$(DESTDIR)$(PYTHONAPPSDIR)"

It is thus created with whatever permissions were set in the source directory. If the source has no access for group or others set, as in the 3.12.0 release tarball, so will the installed IDLE.app.

The Makefile target should ensure that good permissions are set.

CPython versions tested on:

3.12

Operating systems tested on:

macOS

Linked PRs

@jmroot jmroot added the type-bug An unexpected behavior, bug, or error label Oct 18, 2023
jmroot added a commit to jmroot/cpython that referenced this issue Oct 18, 2023
@Eclips4 Eclips4 added topic-tkinter build The build process and cross-build labels Oct 18, 2023
@ned-deily ned-deily added OS-mac needs backport to 3.12 bug and security fixes needs backport to 3.11 only security fixes and removed topic-tkinter labels Oct 18, 2023
ned-deily added a commit that referenced this issue Oct 18, 2023
…rect permissions (gh-111016)

Co-authored-by: Ned Deily <nad@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 18, 2023
…th correct permissions (pythongh-111016)

(cherry picked from commit cb1bf89)

Co-authored-by: Joshua Root <jmr@macports.org>
Co-authored-by: Ned Deily <nad@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 18, 2023
…th correct permissions (pythongh-111016)

(cherry picked from commit cb1bf89)

Co-authored-by: Joshua Root <jmr@macports.org>
Co-authored-by: Ned Deily <nad@python.org>
ned-deily added a commit that referenced this issue Oct 18, 2023
…ith correct permissions (gh-111038)

(cherry picked from commit cb1bf89)

Co-authored-by: Joshua Root <jmr@macports.org>
Co-authored-by: Ned Deily <nad@python.org>
ned-deily added a commit that referenced this issue Oct 18, 2023
…ith correct permissions (gh-111037)

(cherry picked from commit cb1bf89)

Co-authored-by: Joshua Root <jmr@macports.org>
Co-authored-by: Ned Deily <nad@python.org>
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
…th correct permissions (pythongh-111016)

Co-authored-by: Ned Deily <nad@python.org>
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
…th correct permissions (pythongh-111016)

Co-authored-by: Ned Deily <nad@python.org>
@picnixz picnixz removed needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-mac type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants