Opened 8 years ago
#16467 new defect
Unlink of locked file fails on shared folder
Reported by: | egooo | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 5.1.14 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
I noticed that some programs crash, when working on data in a shared folder. I recorded the file operations with strace and was able to write a small program, that reproduces the error. The attached program basically acquires a lock on a file and then tries to delete it before closing.
To reproduce the error, execute the attached program in a Linux guest, on a Windows host. It prints "Test failed" when being executed in a shared folder. When executed outside the shared folder, it prints "Test passed."