VirtualBox

Opened 15 years ago

Closed 11 years ago

#2969 closed defect (fixed)

shared folders on vista partially work

Reported by: Maciej Pilichowski Owned by:
Component: shared folders Version: VirtualBox 2.1.0
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by Klaus Espenlaub)

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

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

Download all attachments as: .zip

Change History (23)

comment:1 by Maciej Pilichowski, 15 years ago

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

comment:2 by Frank Mehnert, 15 years ago

Component: othershared folders
Guest type: otherLinux
Host type: otherWindows

comment:3 by viz, 15 years ago

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 by ET, 15 years ago

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.

by ET, 15 years ago

Attachment: guest1.png added

debian guest - mc cannot read shared folder

by ET, 15 years ago

Attachment: guest2.png added

debian guest - directory contents after mc error

by ET, 15 years ago

Attachment: guest3-afterlsdone.png added

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

comment:5 by wbrana, 15 years ago

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 by wbrana, 15 years ago

still broken - Ubuntu 9.04 in VB 3.0.0

comment:7 by qqq, 15 years ago

Confirm this.

Host: Vista x64 Guest: Debian Lenny VB: 3.0.2

comment:8 by qqq, 15 years ago

But only if i am root user.

in reply to:  description ; comment:9 by zsero, 15 years ago

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.

in reply to:  9 comment:10 by zsero, 15 years ago

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 by WGH, 15 years ago

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

comment:12 by oliver nadj, 14 years ago

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 by Den, 14 years ago

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 by Klaus Espenlaub, 14 years ago

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 by Klaus Espenlaub, 14 years ago

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 by Maciej Pilichowski, 14 years ago

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

comment:17 by qqq, 14 years ago

This error does not exist in 3.2.0.

comment:18 by Den, 14 years ago

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

comment:19 by Klaus Espenlaub, 11 years ago

Thanks for the feedback, closing.

comment:20 by Klaus Espenlaub, 11 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use