Remove inheritable permissions from the working directory, since they
break assumptions that the testsuite makes about the filemode a given
umask will result in.
---
.github/workflows/cygwin.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 803462a01..53dd06d3c 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -105,6 +105,9 @@ jobs:
# endings, but this could still be dangerous e.g if we need symlinks in the
# repo)
- run: git config --global core.autocrlf input
+ # remove inheritable permissions since they break assumptions testsuite
+ # makes about file modes
+ - run: icacls . /inheritance:r
- uses: actions/checkout@v3
# install cygwin and build tools
--
2.45.1