Problem with shared folders

Discussions about using Linux guests in VirtualBox.
Post Reply
JohnAb
Posts: 1
Joined: 16. Oct 2022, 11:55

Problem with shared folders

Post by JohnAb »

I'm using VirtualBox Version 6.1.18 r142142 (Qt5.6.2) on windows 10 21H2 with an Ubuntu 20.04 as guest OS.

I set up a shared folder, set as auto mount, leave the mount point blank and select Make permanent.

The shared folder appears mounted in /media/ but what I copy there in the Linux OS doesn't appear in Windows.

Neither what I copy from the Windows side is visible on the Linux side.

If I power off the VM, delete the shaed folder and start it up again, the shared folder is still there (I would expect it to be gone)

In a terminal, sudo ls /media/ shows the 'ghost' folders mounted

sudo umount /media/* returns

umount: /media/<folder_name>: not mounted
ajgringo
Posts: 31
Joined: 11. Aug 2022, 01:45
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Arch, Debian, Fedora, Gentoo, openSUSE, Ubuntu, Windows

Re: Problem with shared folders

Post by ajgringo »

JohnAb wrote:I'm using VirtualBox Version 6.1.18 r142142 (Qt5.6.2) on windows 10 21H2 with an Ubuntu 20.04 as guest OS.
You should probably upgrade to version 6.1.40
I set up a shared folder, set as auto mount, leave the mount point blank and select Make permanent.
The shared folder appears mounted in /media/ but what I copy there in the Linux OS doesn't appear in Windows.
What do you mean by "appears mounted"? Does `df -h` show the mounted filesystem?
[host: EndeavourOS, VB 7.0.2, Ryzen 7 2700x, GTX 1070, 32 GB RAM]
Post Reply