From 47d809d4434f6724d0b6fbe2dcb54749486eeddb Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Fri, 28 Aug 2020 11:24:10 -0400 Subject: [PATCH] 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 --- src/bozo/bosoprocs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) 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; } } -- 1.7.1