migrate: root should be 0755

This commit is contained in:
K. Lange 2018-12-11 12:41:24 +09:00
parent f993a753cb
commit 8c96093361

View File

@ -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);