diff options
Diffstat (limited to 'cdinit.c')
-rw-r--r-- | cdinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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," |