Opened 9 years ago
Last modified 9 years ago
#14568 new defect
Regression: protocol error if the host folder name differs from share name
Reported by: | indifferent | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 5.0.4 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
I remember many years ago in VBox 2 or 3 there was an issue that name of the folder on host system has to match the name of the share for it to work properly. In 4 it worked properly though. Now on 5.0.4 I've encountered the same issue again:
on host:
- mkdir ~/vm-shared
- mkdir ~/test
in VBox UI:
- add folder ~/vm-shared with name "shared"
- add folder ~/test with name "test"
on guest (under root):
- mkdir /mnt/shared && mount -t vboxsf -o uid=1000,gid=100 shared /mnt/shared
- mkdir /mnt/test && mount -t vboxsf -o uid=1000,gid=100 test /mnt/test
now on guest, try to execute following command:
- mkdir /mnt/shared/somedir
- mkdir /mnt/test/somedir
Second command executed successfully, but first command fails with protocol error.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Sorry, initial assumption was wrong, it's not because of the name. It's because the shared folder itself is a symlink, and while previous versions of VirtualBox were working with it nicely (still not allowing symlinks under the shared folder), 5.0.4 does not work with it.