VirtualBox

Opened 7 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."

Attachments (1)

checkDeleteLocked.c (1.0 KB ) - added by egooo 7 years ago.

Download all attachments as: .zip

Change History (1)

by egooo, 7 years ago

Attachment: checkDeleteLocked.c added
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use