Skip to content

Commit c6ec618

Browse files
committed
Fix chown for aarch64 runner
1 parent e1bd309 commit c6ec618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aarch64-runner/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "Setting up runner-user, who will run GitHub Actions runner"
1515
adduser --disabled-password --gecos "" ${GITHUB_RUNNER_USER}
1616
mkdir /home/${GITHUB_RUNNER_USER}/.ssh/
1717
cp "/home/${SUDO_USER}/.ssh/authorized_keys" "/home/${GITHUB_RUNNER_USER}/.ssh/authorized_keys"
18-
chown ${GITHUB_RUNNER_USER}:${GITHUB_RUNNER_USER} /home/${GITHUB_RUNNER_USER}/.ssh/authorized_keys
18+
chown --recursive ${GITHUB_RUNNER_USER}:${GITHUB_RUNNER_USER} /home/${GITHUB_RUNNER_USER}/.ssh
1919

2020
echo "Setting up python3"
2121
apt-get install --yes --no-install-recommends python3

0 commit comments

Comments
 (0)