The typical top-level mountpints for automounts and removable media in Linux, /media and /run/media are created by the OS itself at OS installation time and are outside the control of Virtualbox.
How is your shared folder setup, have you made any manual changes to the automatic default settings for the mount point ? The workaround is to temporarily umount and chgrp vboxsf on the mount point. Even though once mounted the root of the mounted fs had the group vboxsf, the underlying mount point are the permission which will be used to traverse over to that filesystem. The underlying mount point was created root:root drwxr-x-, thus unreadable and unsearchable by anyone outside root/root.
The mount point was created automatically by adding the shared folder to the VM while creating it and installing. I believe I've found the cause for this and a workaround. So when exactly is your problem happening? You've edited /etc/group to add a user to the vboxfs group, some Linux version even seem to cache it and require an entire reboot to make /etc/group changes visible and working. NB: some Linux version do require to logout and login again once Otherwise I can only reply with "This works for me in 6.0.16 and 6.1.2". Proper written problem statement which included a description of I can try more guessing, I suppose it's better if you can provide a Should I guess more? VirtualBox 6.0 is rather outdated, perhaps you use 6.0.16 which is the latest? Let me guess: /Users/paulf is the shared folder inside the guest? Ls: cannot access '/Users/paulf': Permission deniedĭrwxrwx- 1 root vboxsf 2048 Feb 17 11:03 /Users/paulf
I also have this issue, VirtualBox 6.0, Ubuntu 19.10 (macOS 10.14.6 host).