1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 04:13:29 +02:00

[ticket/12693] Check if the are executable and not if they are 644

PHPBB3-12693
This commit is contained in:
Tristan Darricau 2014-06-23 23:26:08 +02:00
parent f394f55fe2
commit 30e13a429c

View File

@ -38,15 +38,19 @@ then
-name 'composer.phar' \
')' \
-a '(' \
-type f -a \
-not -perm 644 \
'(' \
-type f -a \
-perm +111 \
')' -o \
-not -perm +600 \
')' \
')' \
)
if [ "$executables_files" != '' ]
then
echo "$executables_files MUST have the right 644.";
ls -la $executables_files
echo "$executables_files MUST NOT be executable.";
exit 1;
fi
fi