Ticket #14554 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Files with colon ":" characters in their names cannot be used in shared folders

Reported by: GaryPlumbridge Owned by:
Component: shared folders Version: VirtualBox 5.0.2
Keywords: sf : colon "prococol error" Cc:
Guest type: Linux Host type: Mac OS X


Note: this bug is also present in test build 5.0.3 revision 102467. This bug is not present in 5.0.0

Files with colon ":" characters in their names cannot be used in shared folders.

To reproduce:

  1. Mount a shared folder RW.
  2. In the shared folder, attempt to create a file with a colon in its name, for example:
    gary@gpubuvm:~/host$ touch "some:file"
  3. Observe result:
    touch: cannot touch ‘some:file’: Protocol error

Existing files with colons in their names cannot be used but do appear in listings. For example:

gary@gpubuvm:~/host/testdir$ ls -lah


ls: cannot access bad:file: No such file or directory
total 0
drwxrwx--- 1 root vboxsf  136 Sep  8 11:31 .
drwxrwx--- 1 root vboxsf 1.4K Sep  8 11:31 ..
-????????? ? ?    ?         ?            ? bad:file
-rwxrwx--- 1 root vboxsf    0 Sep  8 11:31 goodfile

A trace of "ls -lah" reveals that it fails to stat "bad:file", even though it is an empty normal file on the host:

lstat("bad:file", 0xff0520)             = -1 ENOENT (No such file or directory)


vbox.log Download (66.6 KB) - added by GaryPlumbridge 6 years ago.

Change History

Changed 6 years ago by GaryPlumbridge


comment:1 Changed 6 years ago by frank

Should be fixed in the last 5.0.x test build.

comment:2 Changed 6 years ago by Tyrael

I can confirm files with colons are properly shared now using the latest test build on Mac.

comment:3 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 5.0.6.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use