mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12693] Check the persmissions of the owner
PHPBB3-12693
This commit is contained in:
parent
30e13a429c
commit
949264507d
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue