Opened 16 years ago
Last modified 8 years ago
#4890 reopened defect
WinXP host, Ubuntu 9.04 guest, "mv -f file1 file2" fails on shared folder without write permissions on file2 — at Initial Version
Reported by: | David | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 3.2.10 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
Test case:
touch file1 file2 chmod a-w file2 mv -f file1 file2
On the guest disk, there is no message whatsoever and file2 is replaced by file1. This is the behavior I expect.
On a shared folder pointing to a directory on the host's local hard disk drive, I get this error from the mv command and file1 remains:
mv: cannot move file1' to
file2': Operation not permitted
When the shared folder is pointing to a network drive, I get this error from the mv command and file1 remains:
mv: cannot move file1' to
file2': File exists