This commit is contained in:
Ryan Chase 2026-02-20 22:52:56 -08:00 committed by GitHub
commit 2afca5d2da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"