From: Darren Tucker Date: Tue, 20 May 2025 08:48:23 +0000 (+1000) Subject: Use USERNAME rather than LOGNAME on Cygwin. X-Git-Tag: V_10_1_P1~284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=648a3a008cf1cfa54631d2f0457b5313c455f484;p=thirdparty%2Fopenssh-portable.git Use USERNAME rather than LOGNAME on Cygwin. LOGNAME is specified by POSIX, but Windows (or at least, github's Windows images) don't set it. --- diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index c4473f2f7..5e778d377 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -24,7 +24,7 @@ case "$host" in 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 /Grant ${USERNAME}:F icacls regress /c /t /q /Remove:g "Authenticated Users" \ BUILTIN\\Administrators BUILTIN Everyone System Users takeown /F regress