From: Darren Tucker Date: Sat, 19 Apr 2025 23:07:57 +0000 (+1000) Subject: Set Windows permssions on regress dir. X-Git-Tag: V_10_1_P1~330 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b405fee7f3e79d44e2d2971a4b6b4cc53f112e;p=thirdparty%2Fopenssh-portable.git Set Windows permssions on regress dir. Prevents "unprotected private key file" error when running tests. --- diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 05ac755a7..e3e28da6f 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -12,7 +12,15 @@ case "$host" in echo Setting CYGWIN system environment variable. setx CYGWIN "binmode" echo Removing extended ACLs so umask works as expected. + set -x setfacl -b . regress + icacls regress /c /t /q /Inheritance:d + icacls regress /c /t /q /Grant ${LOGNAME}:F + icacls regress /c /t /q /Remove:g "Authenticated Users" \ + BUILTIN\\Administrators BUILTIN Everyone System Users + takeown /F regress + icacls regress + set +x PACKAGES="$PACKAGES,autoconf,automake,cygwin-devel,gcc-core" PACKAGES="$PACKAGES,make,openssl,libssl-devel,zlib-devel" ;;