diff --git a/CHANGELOG.md b/CHANGELOG.md index 060e3eb..169f4de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v0.4.29 (2024-11-06) +* Improved executable file check command + ## v0.4.28 (2024-10-20) * Added composer.lock to git export whitelist diff --git a/src/Task/CheckExecutablePermissions.php b/src/Task/CheckExecutablePermissions.php index f4e4134..c4bc371 100644 --- a/src/Task/CheckExecutablePermissions.php +++ b/src/Task/CheckExecutablePermissions.php @@ -33,7 +33,7 @@ public function execute(): bool } $result = Systemic::capture( - 'find . -type f ' . implode(' ', $exStr) . ' -executable', + 'find . -type f \\( -perm -u=x -o -perm -g=x -o -perm -o=x \\) ' . implode(' ', $exStr) . ' -exec test -x {} \\; -print', Integra::$rootDir );