bos-fix-mode-complaints-20031024
authorJoe Buehler <jbuehler@hekimian.com>
Fri, 24 Oct 2003 07:31:49 +0000 (07:31 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 24 Oct 2003 07:31:49 +0000 (07:31 +0000)
FIXES 2277

complain correctly about mode

src/bozo/bosoprocs.c

index fd9ec8e..c628693 100644 (file)
@@ -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;