[openssh-commits] [openssh] 02/03: Use USERNAME rather than LOGNAME on Cygwin.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue May 20 21:22:39 AEST 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 648a3a008cf1cfa54631d2f0457b5313c455f484
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Tue May 20 18:48:23 2025 +1000

    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.
---
 .github/setup_ci.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list