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.