diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index be49621..a4c1ba7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,6 +24,8 @@ jobs: useradd -m -d /home/${USER_TEST} -N ${USER_TEST} su ${USER_TEST} -c 'mkdir /home/${USER_TEST}/.ssh' cat ${HOME}/.ssh/id_ed25519.pub | su ${USER_TEST} -c 'tee -a /home/${USER_TEST}/.ssh/authorized_keys' + chmod 700 /home/${USER_TEST}/.ssh + chmod 600 /home/${USER_TEST}/.ssh/authorized_keys echo "127.0.0.1 localhost2" | tee -a /etc/hosts > /dev/null - name: Generate coverage report