Virtual machine permission problem
background
The most convenient host-guest exchange file solution for virtualbox is the shared folder function.
For example, the host has a folder called git. You can directly set this folder as a shared folder and mount it automatically. In this way, every time you start the virtual machine , you will see that this folder is mounted as /media/sf_git.
question
However, when using this folder as a non-root user method, you will encounter insufficient permissions. The root cause is that the owner of the automatically mounted folder is root, the group it belongs to is vboxsf, and only these two users have access rights.