Browse Source

migrate: root should be 0755

K. Lange 1 year ago
parent
commit
8c96093361
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/migrate.c

+ 2 - 2
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);