diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-23 18:58:41 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-31 14:20:34 +0200 |
commit | 636eac2cd25098cc0494f875a35903e8388ac0f8 (patch) | |
tree | f65d3eb253c52cc4823e729881439c4ed16569b7 | |
parent | 18207ae1eccacb2ef475a6b56c51f79aff01538e (diff) | |
download | forums-636eac2cd25098cc0494f875a35903e8388ac0f8.tar forums-636eac2cd25098cc0494f875a35903e8388ac0f8.tar.gz forums-636eac2cd25098cc0494f875a35903e8388ac0f8.tar.bz2 forums-636eac2cd25098cc0494f875a35903e8388ac0f8.tar.xz forums-636eac2cd25098cc0494f875a35903e8388ac0f8.zip |
[ticket/12693] Check if the files have the right 644
And not only if they are executable.
PHPBB3-12693
-rw-r--r-- | travis/check-executable-files.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |