Score:0

Permission issue with the shared folder - Oracle Virtualbox - Ubuntu guest VM

pk flag

Setup: I have installed Oracle Virtualbox 6.1.40 on my Windows 11 host. Running an Ubuntu 22.04 VM.

I have logged in as a non-root (user name: bhuvan). I have successfully configured a shared folder in the VM as shown below. When I click on the shared folder in the FileManager, I am getting a PermissionError. However, I could access it from the root user. How to resolve the permission issue?

I see the shared folder is created with root:vboxsf ownership.

Update 30/Dec/22: Upgraded the Ubuntu to 22.04. The problem still persists.

Shared Folder Configuration

PermissionError

Bhuvan avatar
pk flag
Thanks @guiverc. I will upgrade Ubuntu VM. One correction, I am using Windows 11 host.
Score:0
it flag

The easiest way is to add your non-root user to the vboxsf group.

sudo adduser {username} vboxsf

OR

sudo usermod -a -G vboxsf {user} 

Either of those should work for you.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.