VirtualBox

Opened 15 years ago

Closed 8 years ago

#6220 closed defect (obsolete)

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

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

Description (last modified by aeichner)

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 (2)

comment:1 by dma_k, 14 years ago

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

comment:2 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

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