aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2025-03-20 16:27:19 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2025-03-24 13:41:57 +0000
commitd2bb03ae35f1d1b4a8f73e35f593d2d83d55752d (patch)
tree5deee249f30d6c86e9549b4ee7ae9e4687dca496
parentbb2a8a8cb3ae8753dd275caffdef567f3c2da1b6 (diff)
downloadnewlib-d2bb03ae35f1d1b4a8f73e35f593d2d83d55752d.zip
newlib-d2bb03ae35f1d1b4a8f73e35f593d2d83d55752d.tar.gz
newlib-d2bb03ae35f1d1b4a8f73e35f593d2d83d55752d.tar.bz2
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.
-rw-r--r--.github/workflows/cygwin.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 803462a..53dd06d 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