#StackBounty: #virtualbox #mount #nixos User can't see shared folder in VirtualBox guest even though she's in vboxsf group

Bounty: 50

I’m using Virtualbox. I have a NixOS guest on a Windows host. I added the user to the vboxsf group and rebooted the machine.

$ groups                                                                                                                                                                         
users wheel vboxsf                                                                                                                                                                           

I can access the shared folder as root, but not as a non-root user.

$ ls /media/sf_VMShare
ls: cannot access '/media/sf_VMShare': Permission denied                                                                                                                                     
$ sudo ls /media/sf_VMShare                                                                                                                                                      
<directory listing...>

The ownership of the mount point seems to be correct.

$ sudo umount /media/sf_VMShare                                                                                                                                                  
$ sudo ls -l /media
total 4
drwxrwx--- 2 amy vboxsf 4096 Nov 22 17:38 sf_VMShare

I have seen the question Permission denied when accessing VirtualBox shared folder when member of the vboxsf group, and already tried the accepted answer, but no success.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.