[newlib-cygwin/main] CI: Remove inheritable permissions from working directory
Jon Turney
jturney@sourceware.org
Mon Mar 24 13:42:28 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d2bb03ae35f1d1b4a8f73e35f593d2d83d55752d
commit d2bb03ae35f1d1b4a8f73e35f593d2d83d55752d
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Thu Mar 20 16:27:19 2025 +0000
CI: Remove inheritable permissions from working directory
Remove inheritable permissions from the working directory, since they
break assumptions that the testsuite makes about the filemode a given
umask will result in.
Diff:
---
.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
More information about the Newlib-cvs
mailing list