aboutsummaryrefslogtreecommitdiffstats
path: root/travis/check-executable-files.sh
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-23 23:33:51 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-31 14:20:38 +0200
commit949264507d688afaeb02eea8b781ea1c9709d7da (patch)
tree5cca8db4f0e80b8307f1c427683d94dbb11bebee /travis/check-executable-files.sh
parent30e13a429c894d5f1f31510d104043191ed3d1a3 (diff)
downloadforums-949264507d688afaeb02eea8b781ea1c9709d7da.tar
forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar.gz
forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar.bz2
forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar.xz
forums-949264507d688afaeb02eea8b781ea1c9709d7da.zip
[ticket/12693] Check the persmissions of the owner
PHPBB3-12693
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