summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcdinit-ppcbin74080 -> 74064 bytes
-rw-r--r--cdinit.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/cdinit-ppc b/cdinit-ppc
index 3a478c9..8184940 100755
--- a/cdinit-ppc
+++ b/cdinit-ppc
Binary files differ
diff --git a/cdinit.c b/cdinit.c
index c24134e..1cc7ba8 100644
--- a/cdinit.c
+++ b/cdinit.c
@@ -322,8 +322,8 @@ int main(void)
}
/* If this fails, we'll find out below */
- mkdir("/upperroot/.overlay_work", S_IRWXU);
- mkdir("/upperroot/.root", S_IRWXU);
+ mkdir("/upperroot/.overlay_work", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
+ mkdir("/upperroot/.root", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
if(mount("overlay", "/newroot", "overlay", 0,
"lowerdir=/lowerroot,"