diff --git a/include/tests_authentication b/include/tests_authentication index 9a33cea1d..75f66e47c 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -586,7 +586,7 @@ FIND2=$(${LSBINARY} -lnd ${SUDOERS_D} | ${AWKBINARY} '{print $3$4}') LogText "Result: Found directory permissions: ${FIND} and owner UID GID: ${FIND2}" case "${FIND}" in - rwx[r-][w-][x-]--- ) + rw[x-][r-][w-][x-]--- ) LogText "Result: directory ${SUDOERS_D} permissions OK" if [ "${FIND2}" = "00" ]; then LogText "Result: directory ${SUDOERS_D} ownership OK"