diff --git a/src/api/LocalFS.ts b/src/api/LocalFS.ts index 3bb37a7e..67a76020 100644 --- a/src/api/LocalFS.ts +++ b/src/api/LocalFS.ts @@ -617,7 +617,8 @@ class LocalFS extends AFSProvider { // Needed for v86 mode -= mode & 0o170000; - } else if (!sym) { + } + if (!sym) { if (type === "FILE") { currStats.mode = 0o100000 + mode; }