You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced-usage.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -453,12 +453,12 @@ One quick way to grant access is to change the user and group of the non-default
453
453
The Python packages for MacOS that are downloaded from `actions/python-versions` are originally compiled from source in `/Users/runner/hostedtoolcache`. Due to the fixed shared library path, these Python packages are non-relocatable and require to be installed only in `/Users/runner/hostedtoolcache`. Before use of `setup-python` on the MacOS self-hosted runner:
454
454
455
455
- Create a directory called `/Users/runner/hostedtoolcache`
456
-
- Change the permissions of `/Users/runner/hostedtoolcache` so that the runner has write access.
456
+
- Change the permissions of `/Users/runner/hostedtoolcache` so that the runner has write access
457
457
458
458
You can check the current user and group that the runner belongs to by typing `ls -l` inside the runners root directory.
459
459
The runner can be granted write access to the `/Users/runner/hostedtoolcache` directory using a few techniques:
460
-
- The user starting the runner is the owner, and the owner has write permission.
461
-
- The user starting the runner is in the owning group, and the owning group has write permission.
460
+
- The user starting the runner is the owner, and the owner has write permission
461
+
- The user starting the runner is in the owning group, and the owning group has write permission
462
462
- All users have write permission.
463
463
One quick way to grant access is to change the user and group of `/Users/runner/hostedtoolcache` to be the same as the runners using `chown`:
0 commit comments