mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +02:00
[ticket/12693] Check the persmissions of the owner
PHPBB3-12693
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
# the docs/CREDITS.txt file.
|
# the docs/CREDITS.txt file.
|
||||||
#
|
#
|
||||||
set -e
|
set -e
|
||||||
set -x
|
|
||||||
|
|
||||||
DB=$1
|
DB=$1
|
||||||
TRAVIS_PHP_VERSION=$2
|
TRAVIS_PHP_VERSION=$2
|
||||||
@@ -42,7 +41,7 @@ then
|
|||||||
-type f -a \
|
-type f -a \
|
||||||
-perm +111 \
|
-perm +111 \
|
||||||
')' -o \
|
')' -o \
|
||||||
-not -perm +600 \
|
-not -perm -600 \
|
||||||
')' \
|
')' \
|
||||||
')' \
|
')' \
|
||||||
)
|
)
|
||||||
@@ -50,7 +49,7 @@ then
|
|||||||
if [ "$executables_files" != '' ]
|
if [ "$executables_files" != '' ]
|
||||||
then
|
then
|
||||||
ls -la $executables_files
|
ls -la $executables_files
|
||||||
echo "$executables_files MUST NOT be executable.";
|
echo "MUST NOT be executable and MUST be readable and writable by the owner.";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user