aboutsummaryrefslogtreecommitdiffstats
path: root/travis/check-executable-files.sh
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-23 18:58:41 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-31 14:20:34 +0200
commit636eac2cd25098cc0494f875a35903e8388ac0f8 (patch)
treef65d3eb253c52cc4823e729881439c4ed16569b7 /travis/check-executable-files.sh
parent18207ae1eccacb2ef475a6b56c51f79aff01538e (diff)
downloadforums-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
Diffstat (limited to 'travis/check-executable-files.sh')
-rw-r--r--travis/check-executable-files.sh6
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