[SOLVED] Host Manjaro Gest EndeavourOS shared folder issue

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cencar
Posts: 2
Joined: 11. Mar 2023, 06:02

[SOLVED] Host Manjaro Gest EndeavourOS shared folder issue

Post by cencar »

Hi guys,
I'm new to Virtualbox, but have managed to get everything working except shared folders:-
Host
Folder Path /home/bugster/Shared
Folder Name Shared
Mount Point [blank]
Auto-mount check
Make permanent check

Guest
I can see the "sf_Shared" in the file manager. However, when I click on it, I get the following error.

Failed to open directory "sf_Shared"

I assume it's the mount point needs to be set but I'm not sure. Thanks
Last edited by cencar on 20. Mar 2023, 08:37, edited 1 time in total.
multiOS
Volunteer
Posts: 800
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Host Manjaro Gest EndeavourOS shared folder issue

Post by multiOS »

For Linux guests, access to shared folders is initially restricted the root user and members of the 'vboxsf' group, which is automatically created when you set up a shared folder. You need to add your username to the vboxsf group using the appropriate Terminal command for your linux distribution, then reboot and the folder[s) should then be accessible.

See the VirtualBox User Guide for further details on shared folders, but you will also need to check for the Arch Linux command for adding users to Linux User Groups. It's likely to be something like:

Code: Select all

sudo adduser [username] vboxsf
cencar
Posts: 2
Joined: 11. Mar 2023, 06:02

Re: Host Manjaro Gest EndeavourOS shared folder issue

Post by cencar »

Thanks
multiOS
,
I had to set the permissions from inside the guest, then reboot. All working.
Post Reply