Sunday, February 11, 2024

Error opening directory '/media/sf_C_DRIVE': Permission denied

I tried to share a folder from Windows 10 host to Kali 2020.1 Linux guest using VirtualBox but I am getting the following error message:

Error opening directory '/media/sf_C_DRIVE': Permission denied

To fix, do:
$: sudo adduser $USER vboxsf
Then log-off then log back in. If this does not work, reboot the VM

Getting similar issue using Fedora 33 on VirtualBox 7.0.12, below is the error message
This location could not be displayed You do not have the permissions necessary to view the contents of "sf_D_DRIVE"
To fix do the following and reboot the VM.
$: sudo usermod -a -G vboxsf $USER
Refs:
https://stackoverflow.com/questions/26740113/virtualbox-shared-folder-permissions

No comments:

How to configure nfs server on QNX 7.1

How to configure nfs server on QNX 7.1 Target: QNX 7.1 running on a VM (VMware Workstation or VirtualBox). It is assummed that the targets ...