]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 fd9ec8ec92af7270686f93083a089c076a9d745e..c6286932013d6f04c7d8a500451799950e7bc38b 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;