Stabilize VFS, PROCFS and EXT2.

This commit is contained in:
Enrico Fraccaroli
2021-12-21 13:19:59 +01:00
parent f7b951cb72
commit 60ed18dd80
17 changed files with 507 additions and 277 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ static int __cd(int argc, char *argv[])
return 1;
}
}
int fd = open(path, O_RDONLY | O_DIRECTORY, 0);
int fd = open(path, O_RDONLY | O_DIRECTORY, S_IXUSR);
if (fd == -1) {
printf("cd: %s: %s\n\n", argv[0], strerror(errno), path);
return 1;