VirtualBox

Ticket #2969 (closed defect: fixed)

Opened 5 years ago

Last modified 15 months ago

shared folders on vista partially work

Reported by: macias Owned by:
Priority: major Component: shared folders
Version: VirtualBox 2.1.0 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description (last modified by klaus) (diff)

Normally I use VB with host: opensuse, guest: winxp. But now I also installed VB with host: vista, guest: opensuse. Now, with latter configuration I get strange results for shared folders.

I can run typical bash commands like dir cd mkdir

I can run basic command-line utilities like bzip2 and everything works fine.

When I run midnight-commander I can access shared directories BUT on every cd I get "cannot read directory content".

So if I have shared folder SHARED with subdirectory SUB

when I run this cd SHARED mc

I get SUB in mc, but when I change dir in mc to SUB I get error. It is not mc fault because other tools behave similarly but with just bare "error" message.

Attachments

guest1.png Download (106.8 KB) - added by eliast 5 years ago.
debian guest - mc cannot read shared folder
guest2.png Download (104.0 KB) - added by eliast 5 years ago.
debian guest - directory contents after mc error
guest3-afterlsdone.png Download (105.1 KB) - added by eliast 5 years ago.
debian guest - mc suprisingly CAN read directory contents after done a simple "ls"

Change History

comment:1 Changed 5 years ago by macias

Host: Vista 32-bit, guest: opensuse 11.1 32-bit.

comment:2 Changed 5 years ago by frank

  • Host type changed from other to Windows
  • Component changed from other to shared folders
  • Guest type changed from other to Linux

comment:3 Changed 5 years ago by viz

I have the same problem, different environment.

  • Host: Mac OS X 10.5.6
  • Guest: Ubuntu 8.10 Desktop
  • VirtualBox: 2.1.2

All bash commands (ls, mkdir, cd..) works. Nautilus works as well. Just Midnight-commander (the really needed tool) cannot display content of a shared directory ("cannot read directory content"). No matter which options I use for mounting.

There is one special thing I noticed: when I 'cd' the shared dir right after mounting it for the first time and I run 'mc' the directory content is displayed correctly. Just once. Never again.

comment:4 Changed 5 years ago by eliast

I have exactly the same problem. Host: Ubuntu 8.10 Server 64bit guests: Debian x86, Debian x64

I have a machine shared folder (host: /srv, named "x86"), mounted to /mnt in the guest: fstab: x86 /mnt vboxsf defaults 0 0

host and guest rights all 777. inside guest: ls works, but using mc I get an unable to read error. I do an ls, the structure appears in mc. but when changing an other dir, I have to re-ls again. It is VERY annoying.

Changed 5 years ago by eliast

debian guest - mc cannot read shared folder

Changed 5 years ago by eliast

debian guest - directory contents after mc error

Changed 5 years ago by eliast

debian guest - mc suprisingly CAN read directory contents after done a simple "ls"

comment:5 Changed 5 years ago by wbrana

It seems that problem is related to kernel version of guest.

Works: Ubuntu 8.04 with kernel 2.6.24

Doesn't work: Ubuntu 8.04 with kernel 2.6.25 and later Ubuntu 9.04 with kernel 2.6.29

Ubuntu is guest. Windows XP SP3 is host.

comment:6 Changed 5 years ago by wbrana

still broken - Ubuntu 9.04 in VB 3.0.0

comment:7 Changed 5 years ago by bragovo

Confirm this.

Host: Vista x64 Guest: Debian Lenny VB: 3.0.2

comment:8 Changed 5 years ago by bragovo

But only if i am root user.

comment:9 in reply to: ↑ description ; follow-up: ↓ 10 Changed 5 years ago by zsero

For me, on XP 64-bit host and Ubuntu 9.04 32-bit guest, I get errors in 2 out of 5 tries. I can just hit enter on the directory in MC and hit enter again to go up, and sometimes it throws errors, sometime it does not.

comment:10 in reply to: ↑ 9 Changed 5 years ago by zsero

Ah, 3.0.6 PUEL.

For me, on XP 64-bit host and Ubuntu 9.04 32-bit guest, I get errors in 2 out of 5 tries. I can just hit enter on the directory in MC and hit enter again to go up, and sometimes it throws errors, sometime it does not.

comment:11 Changed 5 years ago by WGH

Same here. Host: Windows 7 x64 Guest: Debian 5.03, kernel 2.6.26-2-amd64

comment:12 Changed 4 years ago by oliver.nadj

Dear Community, same problem with:

  • Host: Linux 2.6.31-20-generic-pae Ubuntu 9.10 Karmic
  • Guest: Linux 2.6.28-11-generic Ubuntu 9.04 Jaunty
  • VirtualBox: 3.0.8 and 3.0.14

comment:13 Changed 4 years ago by redfan

Same problem for a long time already:

Host: Windows XP SP3 32bit Guest: Linux 2.6.26-2-686 Debian Virtualbox: from 2.x.x to 3.1.8

comment:14 Changed 4 years ago by klaus

I've did a quick experiment with 3.2.0_BETA3. Windows Vista 32bit host, Ubuntu 6.06 (dapper) guest. mc worked just fine, saw no errors whatsoever switching to a different directory.

comment:15 Changed 4 years ago by klaus

Just for the fun of it tried it again, Windows Vista 32bit host, Ubuntu 10.04 guest, kernel 2.6.32-21-generic. Mounted the shared folder, once without any special options and once assigning the ownership to the regular user. mc simply worked as it should.

So either I'm testing the wrong thing, the bug is long gone (did everyone update the guest additions?) or we fixed it sometime while working on 3.2.0 without realizing.

comment:16 Changed 4 years ago by macias

I tried it too, but now I cannot install addons, so I cannot tell if this works or not.

comment:17 Changed 4 years ago by bragovo

This error does not exist in 3.2.0.

comment:18 Changed 4 years ago by redfan_spb

This error has disappeared from version 3.2.6 of Oracle VirtualBox, when I reinstalled Guest Additions on linux guest.

comment:19 Changed 15 months ago by klaus

Thanks for the feedback, closing.

comment:20 Changed 15 months ago by klaus

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use