VirtualBox

Opened 9 years ago

Closed 9 years ago

#14598 closed defect (duplicate)

vboxsf "Protocol Error" writing file with ":" colon character

Reported by: StephenONeill Owned by:
Component: shared folders Version: VirtualBox 5.0.4
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description

VirtualBox version: 5.0.4

Running a Centos 6.5 guest on Mac OSX 10.10.5 host I am unable to create a file containing a ":" colon in a vboxsf directory within the guest.

If I create the file on the host then it shows but with "?" in its ls descriptor.

The following demonstrates the creation issue within the guest. Note that creating a file in /tmp on the guest is successful at the end.

[vagrant@vagrant-centos64 testdir]$ df .
Filesystem     1K-blocks     Used Available Use% Mounted on
TestDirCode    243924992 28710292 215214700  12% /var/lamp/code/testdir
[vagrant@vagrant-centos64 testdir]$ mount |grep TestDirCode
TestDirCode on /var/lamp/code/testdir type vboxsf (uid=500,gid=500,rw)
[vagrant@vagrant-centos64 testdir]$ ls -ld .
drwxr-xr-x 1 vagrant vagrant 68 Sep 16 08:30 .
[vagrant@vagrant-centos64 testdir]$ echo > test
[vagrant@vagrant-centos64 testdir]$ ls -l
total 4
-rw-r--r-- 1 vagrant vagrant 1 Sep 16 08:31 test
[vagrant@vagrant-centos64 testdir]$ echo > :
-bash: :: Protocol error
[vagrant@vagrant-centos64 testdir]$ echo > /tmp/:
[vagrant@vagrant-centos64 testdir]$ ls -l /tmp/:
-rw-rw-r-- 1 vagrant vagrant 1 Sep 16 08:31 /tmp/:

If I create the file on the host it then ls reports it like this in the guest:

[vagrant@vagrant-centos64 ~]$ ls -l /var/lamp/code/testdir/
ls: cannot access /var/lamp/code/testdir/:: No such file or directory
total 4
?????????? ? ?       ?       ?            ? :
-rw-r--r-- 1 vagrant vagrant 1 Sep 16 08:31 test

Attachments (1)

VBox.log (117.3 KB ) - added by StephenONeill 9 years ago.

Download all attachments as: .zip

Change History (2)

by StephenONeill, 9 years ago

Attachment: VBox.log added

comment:1 by Frank Mehnert, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #14554.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use