Skip to content

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

Open
AttilaT wants to merge 1 commit intoactions:mainfrom
AttilaT:main
Open

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

Conversation

@AttilaT
Copy link
Copy Markdown

@AttilaT AttilaT commented Apr 2, 2026

Problem

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

Error: ln: python314: Permission denied
image

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.

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