Skip to content

find_program: Revert "Find programs that are executable but not readable"

The fix in !4571 (merged) can break existing projects that were (likely accidentally) relying on the old behavior to find files that are readable but not executable. Revert the fix for now. We can re-introduce it with a policy later.

Instead of reverting the test case, update it to cover the old behavior. That can serve as a reference for testing the policy when introduced.

Fixes: #20814 (closed)
Issue: #10468 (closed)
Backport: release

Edited by Brad King

Merge request reports