From efebb99da1d575da5f4adc09fe9bd1af7745780a Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 2 May 2016 17:13:06 +0200 Subject: [PATCH] Add action to take when a file has not the right permissions --- include/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions b/include/functions index e7e0e940..795d484e 100644 --- a/include/functions +++ b/include/functions @@ -1872,7 +1872,7 @@ # Other permissions OTHER_PERMS=`echo ${PERMS} | cut -c8-10` if [ ! "${OTHER_PERMS}" = "---" -a ! "${OTHER_PERMS}" = "r--" ]; then - echo "Fatal error: permissions of file $1 are not strict enough. Access to 'other' should be denied or read-only." + echo "Fatal error: permissions of file $1 are not strict enough. Access to 'other' should be denied or read-only. Change with: chmod 600 $1" ExitFatal fi # Set PERMS_OK to 1 if no fatal errors occurred