You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, so while compiling WASM through WASI, we can't change the mode (because of sandbox environment behaviour). So, we should not change the behaviour ?
When we call
mkdirat()
it callsmkdir()
https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/sources/at_fdcwd.c#L47
And 'mkdir()' ignores
mode
https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/sources/posix.c#L221
So, it does take 'mode' parameter from the developer, but it doesn't set the mode for the file.
The text was updated successfully, but these errors were encountered: