From: Michael Meffie Date: Fri, 28 Aug 2020 15:24:10 +0000 (-0400) Subject: bozo: Log each dir and file with bad access rights X-Git-Tag: openafs-devel-1_9_1~119 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=47d809d4434f6724d0b6fbe2dcb54749486eeddb bozo: Log each dir and file with bad access rights The bosserver directory and file access check stops after finding one directory or file with incorrect permissions or owner. A log message is written for this first one found, but more than one directory or file may have incorrect access rights. Instead check all of them so the bosserver logs a warning message for each incorrect director or file permission found. This should make it easier to fix all of the file permission problems at once. Change-Id: Ia3f14800ce036aa390929109a286cf21828e8a35 Reviewed-on: https://gerrit.openafs.org/14330 Tested-by: BuildBot Reviewed-by: Cheyenne Wills Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk --- diff --git a/src/bozo/bosoprocs.c b/src/bozo/bosoprocs.c index c823b35..bbf5c33 100644 --- a/src/bozo/bosoprocs.c +++ b/src/bozo/bosoprocs.c @@ -1356,7 +1356,6 @@ DirAccessOK(void) (~e->proPerm & 0777), e->rootOwner ? ", owned by root" : ""); result = 0; - break; } }