From 8c96093361069e53a347814a368f4034a2f31420 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Tue, 11 Dec 2018 12:41:24 +0900 Subject: [PATCH] migrate: root should be 0755 --- apps/migrate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/migrate.c b/apps/migrate.c index 555b18bc..b6f4068a 100644 --- a/apps/migrate.c +++ b/apps/migrate.c @@ -219,11 +219,11 @@ int main(int argc, char * argv[]) { system(tmp); TRACE_("Mounting tmpfs to /"); - system("mount tmpfs x /"); + system("mount tmpfs x,755 /"); TRACE_("Migrating root..."); copy_directory("/dev/base","/",0660,0,0); - system("mount tmpfs x /dev/base"); + system("mount tmpfs x,755 /dev/base"); if (strstr(root, "/dev/ram") != NULL) { char * tmp = strdup(root);