1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

[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.
#
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