[openssh-commits] [openssh] 05/09: Simplify Cygwin permissions setting.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Apr 27 22:20:21 AEST 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 4e0d1aea897d77d3b93e191eda58436e44a53818
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Mon Apr 20 18:47:23 2026 +1000
Simplify Cygwin permissions setting.
---
.github/setup_ci.sh | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index 5d85aa054..fca8591a7 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -20,16 +20,13 @@ case "$host" in
PACKAGER=setup
echo Setting CYGWIN system environment variable.
setx CYGWIN "winsymlinks:native"
- 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 ${USERNAME}:F
- icacls regress /c /t /q /Remove:g "Authenticated Users" \
- BUILTIN\\Administrators BUILTIN Everyone System Users
- takeown /F regress
+ echo Removing extended ACLs on regress so umask works as expected.
+ echo "Original ACLs"
+ icacls regress
+ setfacl -b regress
+ icacls regress /c /t /q /grant 'BUILTIN\Administrators:(RX)'
+ echo "Modifiled ACLs"
icacls regress
- set +x
echo Enabling OpenSSL rh-allow-sha1-signatures for unit tests.
cp /etc/pki/tls/openssl.cnf /etc/pki/tls/openssl.cnf.bak
sed -i -e '/\[ default_modules \]/a alg_section = evp_properties\n[evp_properties]\nrh-allow-sha1-signatures = yes\n' /etc/pki/tls/openssl.cnf
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list