VirtualBox

Opened 12 years ago

Last modified 11 years ago

#11571 closed defect

mkdir() returns EEXISTS, stat() returns ENOENT in vboxsf — at Initial Version

Reported by: zyga Owned by:
Component: shared folders Version: VirtualBox 4.1.22
Keywords: mkdir stat EEXISTS ENOENT Cc:
Guest type: Linux Host type: Linux

Description

This occurred on Ubuntu 13.04 with VirtualBox 4.1.22 from the Ubuntu archive.

In essence, in certain non-root directory of a vboxsf mounted directory, mkdir() returns EEXIST while stat() returns ENOENT, as shown by this strace snippet below:

mkdir("plainbox.egg-info", 0777) = -1 EEXIST (File exists) stat64("plainbox.egg-info", 0xbfd696fc) = -1 ENOENT (No such file or directory) write(2, "error: could not create 'plainbo"..., 57error: could not create 'plainbox.egg-info': File exists

I wrote a minimal program that reproduces the issue: https://gist.github.com/zyga/5110513

Feel free to ask for more information

Change History (0)

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy