aboutsummaryrefslogtreecommitdiffstats
path: root/travis/check-executable-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis/check-executable-files.sh')
-rwxr-xr-xtravis/check-executable-files.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh
index 78a0285f4e..469ac4a496 100755
--- a/travis/check-executable-files.sh
+++ b/travis/check-executable-files.sh
@@ -9,7 +9,6 @@
# the docs/CREDITS.txt file.
#
set -e
-set -x
DB=$1
TRAVIS_PHP_VERSION=$2
@@ -42,7 +41,7 @@ then
-type f -a \
-perm +111 \
')' -o \
- -not -perm +600 \
+ -not -perm -600 \
')' \
')' \
)
@@ -50,7 +49,7 @@ then
if [ "$executables_files" != '' ]
then
ls -la $executables_files
- echo "$executables_files MUST NOT be executable.";
+ echo "MUST NOT be executable and MUST be readable and writable by the owner.";
exit 1;
fi
fi