mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/12693] Check if the files have the right 644
And not only if they are executable. PHPBB3-12693
This commit is contained in:
@@ -37,15 +37,15 @@ then
|
|||||||
-name 'composer.phar' \
|
-name 'composer.phar' \
|
||||||
')' \
|
')' \
|
||||||
-a '(' \
|
-a '(' \
|
||||||
-perm 755 -a \
|
-type f -a \
|
||||||
-type f \
|
-not -perm 644 \
|
||||||
')' \
|
')' \
|
||||||
')' \
|
')' \
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "$executables_files" != '' ]
|
if [ "$executables_files" != '' ]
|
||||||
then
|
then
|
||||||
echo "$executables_files MUST NOT be executable.";
|
echo "$executables_files MUST have the right 644.";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user