mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
18207ae1ec
commit
636eac2cd2
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue