FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Permission denied when creating symlinks on macOS self-hosted runners by AttilaT · Pull Request #384 · actions/python-versions · GitHub

Permission denied when creating symlinks on macOS self-hosted runners - #384

Open
AttilaT wants to merge 1 commit into
actions:mainfrom
AttilaT:main
Open

Permission denied when creating symlinks on macOS self-hosted runners#384
AttilaT wants to merge 1 commit into
actions:mainfrom
AttilaT:main

Conversation

AttilaT commented Apr 2, 2026

Copy link
Copy Markdown

Problem

setup-python fails on self-hosted macOS EC2 runners with:

Error: ln: python314: Permission denied

The setup.sh installer script uses sudo to install the Python framework into /Library/Frameworks/ (line 50), but the subsequent symlink creation inside that root-owned directory runs without sudo, causing a permission error on runners where the CI user is not an admin.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL