VirtualBox

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:

  1. mkdir ~/vm-shared
  2. mkdir ~/test

in VBox UI:

  1. add folder ~/vm-shared with name "shared"
  2. add folder ~/test with name "test"

on guest (under root):

  1. mkdir /mnt/shared && mount -t vboxsf -o uid=1000,gid=100 shared /mnt/shared
  2. mkdir /mnt/test && mount -t vboxsf -o uid=1000,gid=100 test /mnt/test

now on guest, try to execute following command:

  1. mkdir /mnt/shared/somedir
  2. mkdir /mnt/test/somedir

Second command executed successfully, but first command fails with protocol error.

Attachments (1)

VBox.log (100.9 KB ) - added by indifferent 9 years ago.

Download all attachments as: .zip

Change History (2)

by indifferent, 9 years ago

Attachment: VBox.log added

comment:1 by indifferent, 9 years ago

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.

Note: See TracTickets for help on using tickets.

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