-
Notifications
You must be signed in to change notification settings - Fork 704
Open
Labels
Description
Steps to reproduce
The test.c file is uploaded
test-c.txt
And the test.wasm file is uploaded
test-wasm.txt
using command iwasm --dir=./Data test.wasm
to execute the wasm file.
We create a normal file Data/hello.txt, and a softlink file Data/link/hello_softlink.txt points to Data/hello.txt
Environment
ubuntu 20.04
Windows 10
WAMR-1.2.3
Result
In windows, WAMR could write content successfully to the source file Data/hello.txt. And this behavior could be considered as a right behavior, since Data/link/hello_softlink.txt points to Data/hello.txt
However, in Ubuntu, WAMR could not write content to Data/hello.txt. And WAMR create a new file Data/link/hello.txt and write content to Data/link/hello.txt. Maybe this is not correct.