René's URL Explorer Experiment


Title: Permission denied when creating symlinks on macOS self-hosted runners · Issue #1301 · actions/setup-python · GitHub

Open Graph Title: Permission denied when creating symlinks on macOS self-hosted runners · Issue #1301 · actions/setup-python

X Title: Permission denied when creating symlinks on macOS self-hosted runners · Issue #1301 · actions/setup-python

Description: Description: 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 s...

Open Graph Description: Description: 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 /...

X Description: Description: 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 /...

Opengraph URL: https://github.com/actions/setup-python/issues/1301

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Permission denied when creating symlinks on macOS self-hosted runners","articleBody":"\u003c!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 --->\n\u003c!--- Before opening up a new bug report, please make sure to check for similar existing issues -->\n\n**Description:**\n### Problem\n`setup-python` fails on self-hosted macOS EC2 runners with:\n```\nError: ln: python314: Permission denied\n```\n\nThe `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.\n\n**Action version:**\nv6\n\n**Platform:**\n- [ ] Ubuntu\n- [x] macOS\n- [ ] Windows\n\n**Runner type:**\n- [ ] Hosted\n- [x] Self-hosted\n\n**Tools version:**\n\u003c!--- Please list all of the affected Python versions (`3.8.2`, etc.)-->\nAny\n\n**Repro steps:**  \nMake a deployment on a MacOS instance where the runner is running as a standard user with sudo permission.\n\n**Expected behavior:**\nThe installation process creates symbolic links without failures.\n\n**Actual behavior:**\n\u003cimg width=\"1197\" height=\"547\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b9a4b698-0d3a-4789-a8dc-9d160af562c5\" />\n\n**Fix:**\nCan be addressed by this PR: https://github.com/actions/python-versions/pull/384","author":{"url":"https://github.com/AttilaT","@type":"Person","name":"AttilaT"},"datePublished":"2026-04-02T11:53:18Z","url":"https://github.com/actions/setup-python/issues/1301"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7e3aa04c-fa97-a6f6-d555-02eb32e5485b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD0CE:2E7DFB:E41342:12A5289:6B027C12
html-safe-noncefa579b58fdf540fc26272c7e0046faa17c9c6569127f4a505159e1b0fbec4555
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMENFOjJFN0RGQjpFNDEzNDI6MTJBNTI4OTo2QjAyN0MxMiIsInZpc2l0b3JfaWQiOiIyMjA1MzQyMDA4OTM4MjMyODUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7f2e1edbe4b32569b60b648fa2e94d00a9a5fcae90e77842ce506c43fd4ac1c3
hovercard-subject-tagissue:4194076555
github-keyboard-shortcutsrepository,issues,actions,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-python/1301/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cf65cfa56a4b1f4f749f55a4a04296a28d998c2edff5feac529cf856df074cf4/actions/setup-python/issues/1301
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cf65cfa56a4b1f4f749f55a4a04296a28d998c2edff5feac529cf856df074cf4/actions/setup-python/issues/1301
og:image:altDescription: 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 /...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAttilaT
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/actions/setup-python git https://github.com/actions/setup-python.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id192625525
octolytics-dimension-repository_nwoactions/setup-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id192625525
octolytics-dimension-repository_network_root_nwoactions/setup-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/actions/setup-python/issues/1301#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fissues%2F1301
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fissues%2F1301
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=actions%2Fsetup-python
Reloadhttps://github.com/actions/setup-python/issues/1301
Reloadhttps://github.com/actions/setup-python/issues/1301
Reloadhttps://github.com/actions/setup-python/issues/1301
actionshttps://github.com/actions
setup-pythonhttps://github.com/actions/setup-python
Codehttps://github.com/actions/setup-python
Issues37 (37)https://github.com/actions/setup-python/issues
Pull requests22 (22)https://github.com/actions/setup-python/pulls
Actionshttps://github.com/actions/setup-python/actions
Projectshttps://github.com/actions/setup-python/projects
Security and qualityhttps://github.com/actions/setup-python/security
Insightshttps://github.com/actions/setup-python/insights
https://github.com/actions/setup-python
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/1301
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/1301
Permission denied when creating symlinks on macOS self-hosted runnershttps://github.com/actions/setup-python/issues/1301#top
feature requestNew feature or request to improve the current logichttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com/AttilaT
AttilaThttps://github.com/AttilaT
on Apr 2, 2026https://github.com/actions/setup-python/issues/1301#issue-4194076555
https://private-user-images.githubusercontent.com/162975471/573045681-b9a4b698-0d3a-4789-a8dc-9d160af562c5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUzMjUyNDYsIm5iZiI6MTc5NTMyNDk0NiwicGF0aCI6Ii8xNjI5NzU0NzEvNTczMDQ1NjgxLWI5YTRiNjk4LTBkM2EtNDc4OS1hOGRjLTlkMTYwYWY1NjJjNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyMlQwNTIyMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZmMwNGQ4YWM2YjFiNTQwZWU3ZTMwMTZhYjRjMjBmYWVlNDA5MTM3MWIzZjdhOTkzYzA1MzEyNjZlNjEwNTZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.7XFFMNZcZv6ZL0aersuSK7q1-vWDiYRg-F6p1N8tgq4
actions/python-versions#384https://github.com/actions/python-versions/pull/384
AttilaThttps://github.com/AttilaT
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%22
needs triagehttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22needs%20triage%22
on Apr 2, 2026https://github.com/actions/setup-python/issues/1301#event-24145653943
v-gowridurgadhttps://github.com/v-gowridurgad
needs triagehttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22needs%20triage%22
on Apr 3, 2026https://github.com/actions/setup-python/issues/1301#event-24167143989
https://github.com/v-gowridurgad
v-gowridurgadhttps://github.com/v-gowridurgad
on Apr 3, 2026https://github.com/actions/setup-python/issues/1301#issuecomment-4181585734
@AttilaThttps://github.com/AttilaT
v-mahabaleshwarshttps://github.com/v-mahabaleshwars
on May 12, 2026https://github.com/actions/setup-python/issues/1301#event-25421713020
https://github.com/v-mahabaleshwars
v-mahabaleshwarshttps://github.com/v-mahabaleshwars
on May 25, 2026https://github.com/actions/setup-python/issues/1301#issuecomment-4531209961
@AttilaThttps://github.com/AttilaT
setup-python with a self-hosted runner. https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#macos
https://github.com/AttilaT
AttilaThttps://github.com/AttilaT
on Jun 2, 2026https://github.com/actions/setup-python/issues/1301#issuecomment-4603712101
https://github.com/v-mahabaleshwars
v-mahabaleshwarshttps://github.com/v-mahabaleshwars
on Jun 8, 2026https://github.com/actions/setup-python/issues/1301#issuecomment-4645308338
@AttilaThttps://github.com/AttilaT
#384https://github.com/actions/setup-python/pull/384
https://github.com/v-mahabaleshwars
v-mahabaleshwarshttps://github.com/v-mahabaleshwars
on Jun 15, 2026https://github.com/actions/setup-python/issues/1301#issuecomment-4706514109
@AttilaThttps://github.com/AttilaT
v-mahabaleshwarshttps://github.com/v-mahabaleshwars
on Jun 15, 2026https://github.com/actions/setup-python/issues/1301#event-26749808086
v-mahabaleshwarshttps://github.com/v-mahabaleshwars
feature requestNew feature or request to improve the current logichttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22feature%20request%22
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Jun 15, 2026https://github.com/actions/setup-python/issues/1301#event-26749814827
coco-researchhttps://github.com/coco-research
on Sep 3, 2026https://github.com/actions/setup-python/issues/1301#event-30454162779
ci: add self-hosted-probe workflow (end-to-end canary)https://github.com/coco-research/coco/commit/9ba0f1d1646dc41eb7a949b2f59bfc37af34a5a1
9ba0f1dhttps://github.com/coco-research/coco/commit/9ba0f1d1646dc41eb7a949b2f59bfc37af34a5a1
rijul-mckhttps://github.com/rijul-mck
on Sep 14, 2026https://github.com/actions/setup-python/issues/1301#event-31114057283
ci(lint-frontmatter): self-hosted runner, with fork pull requests exc…https://github.com/coco-research/coco/commit/9a24668e4b0db9ecd0a604d193e38a20d4fefd36
9a24668https://github.com/coco-research/coco/commit/9a24668e4b0db9ecd0a604d193e38a20d4fefd36
pranshuchittorahttps://github.com/pranshuchittora
on Oct 31, 2026https://github.com/actions/setup-python/issues/1301#event-34765486757
ci(lint-frontmatter): self-hosted runner, with fork pull requests exc…https://github.com/pranshuchittora/agent-qa-coco/commit/768e5df60a4c6851b225c31637823979ab01f4df
768e5dfhttps://github.com/pranshuchittora/agent-qa-coco/commit/768e5df60a4c6851b225c31637823979ab01f4df
Sign up for freehttps://github.com/signup?return_to=https://github.com/actions/setup-python/issues/1301
Sign in to commenthttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/1301
feature requestNew feature or request to improve the current logichttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22feature%20request%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.