Skip to content

Remove unnecessary executable permissions from example and test scripts - #9133

Open
Esteban82 wants to merge 2 commits into
masterfrom
fix-9048
Open

Remove unnecessary executable permissions from example and test scripts#9133
Esteban82 wants to merge 2 commits into
masterfrom
fix-9048

Conversation

@Esteban82

Copy link
Copy Markdown
Member

Assisted-by: Claude Sonnet 5 (High effort)

Removed the executable permission from example and test .sh scripts under doc/ and test/.
Updated the code-validator.yml CI checker to reflect this new policy.

Closes #9048

All *.sh scripts under doc/ and test/ are invoked through an interpreter
(e.g., `bash gmtest ex01.sh`), so the executable bit is not needed and
causes issues on Windows checkouts (#9047). Scripts genuinely run
directly, such as test/geodesy/run_GPS_case_sub, keep their permissions.

Closes #9048
The "Check execute permission of bash scripts" step required every
*.sh file to be executable, which now conflicts with the previous
commit removing the executable bit from doc/ and test/ scripts.
Adapt it to require execute permission everywhere else, and to
require the *absence* of it under doc/ and test/.

Related to #9048
@Esteban82
Esteban82 requested review from joa-quim and seisman August 21, 2026 13:48
@Esteban82 Esteban82 added the AI-assisted All (or most) of the code was written by Artificial Intelligence. label Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-assisted All (or most) of the code was written by Artificial Intelligence.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unnecessary executable permissions from Bash example and test scripts

1 participant