[ticket/16185] Use /mode for -perm when checking executables

The +mode notation is no longer supported and has been deprecated since 2005.

PHPBB3-16185
This commit is contained in:
Marc Alexander 2019-10-19 11:33:55 +02:00
parent eb13694b25
commit 5ff519c7b2
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -48,13 +48,13 @@ then
'(' \
${executable_files} \
')' -a \
-not -perm +100 \
-not -perm /100 \
')' -o \
'(' \
-not '(' \
${executable_files} \
')' -a \
-perm +111 \
-perm /111 \
')' \
')' \
')' \