[openssh-commits] [openssh] branch master updated: Set Windows permssions on regress dir.

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Apr 20 14:45:57 AEST 2025


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

dtucker pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new b5b405fee Set Windows permssions on regress dir.
b5b405fee is described below

commit b5b405fee7f3e79d44e2d2971a4b6b4cc53f112e
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Sun Apr 20 09:07:57 2025 +1000

    Set Windows permssions on regress dir.
    
    Prevents "unprotected private key file" error when running tests.
---
 .github/setup_ci.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

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"
 	;;

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


More information about the openssh-commits mailing list