From 949264507d688afaeb02eea8b781ea1c9709d7da Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 23 Jun 2014 23:33:51 +0200 Subject: [ticket/12693] Check the persmissions of the owner PHPBB3-12693 --- travis/check-executable-files.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh index 78a0285f4e..469ac4a496 100755 --- a/travis/check-executable-files.sh +++ b/travis/check-executable-files.sh @@ -9,7 +9,6 @@ # the docs/CREDITS.txt file. # set -e -set -x DB=$1 TRAVIS_PHP_VERSION=$2 @@ -42,7 +41,7 @@ then -type f -a \ -perm +111 \ ')' -o \ - -not -perm +600 \ + -not -perm -600 \ ')' \ ')' \ ) @@ -50,7 +49,7 @@ then if [ "$executables_files" != '' ] then 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; fi fi -- cgit v1.2.1