VirtualBox

Ticket #6220 (new defect)

Opened 4 years ago

Last modified 4 years ago

creating a rar archive fails with 'Protocol error' on vboxsf mount

Reported by: hanib Owned by:
Priority: trivial Component: shared folders
Version: VirtualBox 3.1.2 Keywords: rar protocol error vboxsf debian windows xp
Cc: Guest type: Linux
Host type: Windows

Description

Host type: Windows XP Professional (64bit with SP3 installed) Guest Type: Debian netinstall (debian-503-i386-netinst, Linux debian 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37)

There is a shared folder on the guest with mount options rw (shared on /mnt/shared type vboxsf (rw))

When creating a rar archive with winrar (RAR 3.92 beta 1 Copyright (c) 1993-2010 Alexander Roshal 23 Jan 2010, but this error also reproduces with older versions) there is an error:

Creating archive backup.rar

Adding holidayinrussia.avi
Calculating the control sum
Protocol error
Read error in the file backup.rar [R]etry, [A]bort A

Read error in the file backup.rar

when creating rar files on an internal ext3 mount there are however no errors so it must be vboxsf related

Change History

comment:1 Changed 4 years ago by dma_k

I confirm the problem. In my case (VirtualBox v3.2.0b1) it occurs when trying to remove a file with "*" character (this character is not allowed in NTFS I believe). If '*' is not expanded by a shell, the problem is triggered:

# strace rm -f *.bak
execve("/bin/rm", ["rm", "-f", "*.bak"], [/* 27 vars */]) = 0
...
unlinkat(AT_FDCWD, "*.bak", 0)          = -1 EPROTO (Protocol error)
write(2, "rm: ", 4rm: )                     = 4
write(2, "cannot remove `*.bak'", 21cannot remove `*.bak')   = 21
write(2, ": Protocol error", 16: Protocol error)        = 16
write(2, "\n", 1
)                       = 1
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use