From 0d94a5d71eff739dcec5c2cfed04f676b65f98a3 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Tue, 26 Jul 2022 10:47:51 +0200 Subject: [PATCH] Fix typo --- docs/advanced-usage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 0a1a2ac..e3f6543 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -453,12 +453,12 @@ One quick way to grant access is to change the user and group of the non-default 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: - Create a directory called `/Users/runner/hostedtoolcache` - - Change the permissions of `/Users/runner/hostedtoolcache` so that the runner has write access. + - Change the permissions of `/Users/runner/hostedtoolcache` so that the runner has write access You can check the current user and group that the runner belongs to by typing `ls -l` inside the runners root directory. The runner can be granted write access to the `/Users/runner/hostedtoolcache` directory using a few techniques: - - The user starting the runner is the owner, and the owner has write permission. - - The user starting the runner is in the owning group, and the owning group has write permission. + - The user starting the runner is the owner, and the owner has write permission + - The user starting the runner is in the owning group, and the owning group has write permission - All users have write permission. 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`: `sudo chown runner-user:runner-group /Users/runner/hostedtoolcache`