diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-23 23:33:51 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-31 14:20:38 +0200 |
commit | 949264507d688afaeb02eea8b781ea1c9709d7da (patch) | |
tree | 5cca8db4f0e80b8307f1c427683d94dbb11bebee | |
parent | 30e13a429c894d5f1f31510d104043191ed3d1a3 (diff) | |
download | forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar.gz forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar.bz2 forums-949264507d688afaeb02eea8b781ea1c9709d7da.tar.xz forums-949264507d688afaeb02eea8b781ea1c9709d7da.zip |
[ticket/12693] Check the persmissions of the owner
PHPBB3-12693
-rwxr-xr-x | travis/check-executable-files.sh | 5 |
1 files 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 |