From 368989d5c4678f662a127de3a078af67df2dbd39 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 13 Aug 2019 20:04:14 +0200 Subject: [PATCH] [HOME-9304] Added git-shell to ignore list --- include/tests_homedirs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_homedirs b/include/tests_homedirs index 544fa152..464b7389 100644 --- a/include/tests_homedirs +++ b/include/tests_homedirs @@ -57,7 +57,7 @@ if [ ${SKIPTEST} -eq 0 ]; then # Check if users' home directories permissions are 750 or more restrictive FOUND=0 - for LINE in "$(${EGREPBINARY} -v '^(daemon|halt|root|shutdown|sync)' ${ROOTDIR}etc/passwd | ${AWKBINARY} -F: '($7 !~ "/(false|nologin)$") { print }')"; do + for LINE in "$(${EGREPBINARY} -v '^(daemon|git-shell|halt|root|shutdown|sync)' ${ROOTDIR}etc/passwd | ${AWKBINARY} -F: '($7 !~ "/(false|nologin)$") { print }')"; do USER=$(echo ${LINE} | ${CUTBINARY} -d: -f1) DIR=$(echo ${LINE} | ${CUTBINARY} -d: -f6) if [ -d "${DIR}" ]; then