I'm running VirtualBox; host and VM (guest) are both Ubuntu 20.04. I've shared the whole file system of the host (ext4) via VirtualBox Shared Folders capability for VM. I had to add my user on the VM to the vboxsf group. Otherwise, I couldn't access the folder. The shared folder is mounted automatically in
/media/sf_ROOT. Now, when I chdir to
/media/sf_ROOT/home/..., I see that the files' permissions are 770! and it's different from 664 on the host.
Why? How can I make VB to show the files' permissions correctly, the same as what they are in the host? Even if I use
chmod in VM, they're not shown correctly, although they're affected on the files which are located on the host correctly.