[ticket/12693] Check if the files have the right 644

And not only if they are executable.

PHPBB3-12693
This commit is contained in:
Tristan Darricau 2014-06-23 18:58:41 +02:00
parent 18207ae1ec
commit 636eac2cd2

View file

@ -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