From d3d630258f9add38f7a651c01026b0adb985e9bd Mon Sep 17 00:00:00 2001 From: mboelen Date: Fri, 19 Sep 2014 11:44:43 +0200 Subject: [PATCH] Added extra permission to CUPS test --- include/tests_printers_spools | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tests_printers_spools b/include/tests_printers_spools index b28d157f..8596164b 100644 --- a/include/tests_printers_spools +++ b/include/tests_printers_spools @@ -103,13 +103,14 @@ # # Test : PRNT-2307 # Description : Check CUPSd configuration file permissions + # To Do : Add function if [ ${CUPSD_FOUND} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi Register --test-no PRNT-2307 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check CUPSd configuration file permissions" if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: Checking CUPS configuration file permissions" FIND=`ls -l ${CUPSD_CONFIG_FILE} | cut -c 2-10` logtext "Result: found ${FIND}" - if [ "${FIND}" = "r--------" -o "${FIND}" = "rw-------" -o "${FIND}" = "rw-rw----" ]; then + if [ "${FIND}" = "r--------" -o "${FIND}" = "rw-------" -o "${FIND}" = "rw-r-----" -o "${FIND}" = "rw-rw----" ]; then Display --indent 4 --text "- File permissions" --result "OK" --color GREEN AddHP 1 1 else