[ticket/12693] Check the persmissions of the owner

PHPBB3-12693
This commit is contained in:
Tristan Darricau 2014-06-23 23:33:51 +02:00
parent 30e13a429c
commit 949264507d

View file

@ -9,7 +9,6 @@
# the docs/CREDITS.txt file. # the docs/CREDITS.txt file.
# #
set -e set -e
set -x
DB=$1 DB=$1
TRAVIS_PHP_VERSION=$2 TRAVIS_PHP_VERSION=$2
@ -42,7 +41,7 @@ then
-type f -a \ -type f -a \
-perm +111 \ -perm +111 \
')' -o \ ')' -o \
-not -perm +600 \ -not -perm -600 \
')' \ ')' \
')' \ ')' \
) )
@ -50,7 +49,7 @@ then
if [ "$executables_files" != '' ] if [ "$executables_files" != '' ]
then then
ls -la $executables_files 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; exit 1;
fi fi
fi fi