From c5110942b97b06d423f0452cd9fceb219db1b513 Mon Sep 17 00:00:00 2001 From: Joe Buehler Date: Fri, 24 Oct 2003 07:31:49 +0000 Subject: [PATCH] bos-fix-mode-complaints-20031024 FIXES 2277 complain correctly about mode --- src/bozo/bosoprocs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bozo/bosoprocs.c b/src/bozo/bosoprocs.c index fd9ec8ec92..c628693201 100644 --- a/src/bozo/bosoprocs.c +++ b/src/bozo/bosoprocs.c @@ -1415,7 +1415,8 @@ DirAccessOK() if (!StatEachEntry(e)) { bozo_Log("unhappy with %s which is a %s that should " "have at least rights %o, at most rights %o %s\n", - e->path, e->dir ? "dir" : "file", e->reqPerm, e->proPerm, + e->path, e->dir ? "dir" : "file", e->reqPerm, + (~e->proPerm & 0777), e->rootOwner ? ", owned by root" : ""); result = 0; break;