From 636eac2cd25098cc0494f875a35903e8388ac0f8 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 23 Jun 2014 18:58:41 +0200 Subject: [ticket/12693] Check if the files have the right 644 And not only if they are executable. PHPBB3-12693 --- travis/check-executable-files.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'travis') diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh index 8a35634f15..a5403667f4 100644 --- a/travis/check-executable-files.sh +++ b/travis/check-executable-files.sh @@ -37,15 +37,15 @@ then -name 'composer.phar' \ ')' \ -a '(' \ - -perm 755 -a \ - -type f \ + -type f -a \ + -not -perm 644 \ ')' \ ')' \ ) if [ "$executables_files" != '' ] then - echo "$executables_files MUST NOT be executable."; + echo "$executables_files MUST have the right 644."; exit 1; fi fi -- cgit v1.2.1