]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-print-cause-of-bosserver-whining-20020821
authorLove Hörnquist-Åstrand <lha@stacken.kth.se>
Wed, 21 Aug 2002 20:33:45 +0000 (20:33 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 21 Aug 2002 20:33:45 +0000 (20:33 +0000)
instead of a vague error be slightly more useful

(cherry picked from commit a0938ecaf51febe8cd59327ca9ef993c829612f0)

src/bozo/bosoprocs.c

index 1481394cc899abcf25e66b3c38cfc273f8c1d090..5af04351420618b3df84ab1aaaacf44c1ededc37 100644 (file)
@@ -1260,6 +1260,13 @@ int DirAccessOK ()
     for (i=0; i<bozo_nbosEntryStats; i++) {
        struct bozo_bosEntryStats *e = &bozo_bosEntryStats[i];
        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->rootOwner ? ", owned by root" : "");
            result = 0;
            break;
        }