diff options
-rwxr-xr-x | travis/check-executable-files.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh index 99562d8925..78a0285f4e 100755 --- a/travis/check-executable-files.sh +++ b/travis/check-executable-files.sh @@ -38,15 +38,19 @@ then -name 'composer.phar' \ ')' \ -a '(' \ - -type f -a \ - -not -perm 644 \ + '(' \ + -type f -a \ + -perm +111 \ + ')' -o \ + -not -perm +600 \ ')' \ ')' \ ) if [ "$executables_files" != '' ] then - echo "$executables_files MUST have the right 644."; + ls -la $executables_files + echo "$executables_files MUST NOT be executable."; exit 1; fi fi |