Skip to content

WasmFS: Take canRead and canWrite parameters into account when setting directory mode #17125

Open
@paradust7

Description

@paradust7

Preloaded directories are always marked readable but not-writable:

lockedParentDir.insertDirectory(childName, S_IRUGO | S_IXUGO);

But the call to createPath includes argument canWrite which can be true:

createPath: (parent, path, canRead, canWrite) => {
// Cache file path directory names.
wasmFS$preloadedDirs.push({parentPath: parent, childName: path});
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions