From abb9a8aaddfcacbd12641f6e4f203da0fa85a287 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 18 Dec 2022 21:36:25 +1100 Subject: [PATCH] Use sudo when resetting perms on directories. --- .github/workflows/upstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 2d7c2a19e..1e2c2acb7 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -29,7 +29,7 @@ jobs: - name: update source run: vmrun "cd /usr/src && cvs up -dPA usr.bin/ssh regress/usr.bin/ssh" - name: make clean - run: vmrun "cd /usr/src/usr.bin/ssh && make obj && make clean && cd /usr/src/regress/usr.bin/ssh && make obj && make clean && chmod -R g-w /usr/src /usr/obj" + run: vmrun "cd /usr/src/usr.bin/ssh && make obj && make clean && cd /usr/src/regress/usr.bin/ssh && make obj && make clean && sudo chmod -R g-w /usr/src /usr/obj" - name: make run: vmrun "cd /usr/src/usr.bin/ssh && case ${{ matrix.config }} in without-openssl) make OPENSSL=no;; ubsan) make DEBUG='-fsanitize-minimal-runtime -fsanitize=undefined';; *) make; esac" - name: make install