-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The mapdir option unexpectedly maps to the current working directory #1503
Comments
Thanks for the report @caspervonb ! |
On wasmer on master I can confirm that I'll look into it some more. Also the actual commands I've been running look like |
1660: Allow mapdir aliases with starting `/` r=syrusakbary a=MarkMcCaskey Stripping leading `/` is valid because we mount mapped dirs at `/` regardless. Resolves #1503 This solution is a bit hacky, there may be a more elegant solution. I'll look for one tomorrow morning when I'm more mentally fresh. - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <mark@wasmer.io>
1660: Allow mapdir aliases with starting `/` r=MarkMcCaskey a=MarkMcCaskey Stripping leading `/` is valid because we mount mapped dirs at `/` regardless. Resolves #1503 This solution is a bit hacky, there may be a more elegant solution. I'll look for one tomorrow morning when I'm more mentally fresh. - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <mark@wasmer.io>
1660: Allow mapdir aliases with starting `/` r=MarkMcCaskey a=MarkMcCaskey Stripping leading `/` is valid because we mount mapped dirs at `/` regardless. Resolves #1503 This solution is a bit hacky, there may be a more elegant solution. I'll look for one tomorrow morning when I'm more mentally fresh. - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <mark@wasmer.io>
1660: Allow mapdir aliases with starting `/` r=MarkMcCaskey a=MarkMcCaskey Stripping leading `/` is valid because we mount mapped dirs at `/` regardless. Resolves #1503 This solution is a bit hacky, there may be a more elegant solution. I'll look for one tomorrow morning when I'm more mentally fresh. - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <mark@wasmer.io>
Describe the bug
Take the following rename(2) test from the wasi-test project.
Which gets invoked as the following command
Steps to reproduce
Expected behavior
/scratch to be mapped to ./scratch and it to contain a single file
Actual behavior
/scratch is mapped to . which contains the created file
Additional context
The text was updated successfully, but these errors were encountered: