I have a Linux client running on a MacOS host
(Oracle Linux 7.2, MacOS Big Sur 11.4)
If I have my shared folders auto-mounted, then the files all have a group of vboxsf
[oracle@localhost ~]$ ls -l /media/sf_Downloads/
-rwxrwx---. 1 root vboxsf 4615 Jul 6 16:12 country.json
However, I want to be able to mount/unmount them manually, and I have the following in /etc/fstab:
Downloads /mnt/Downloads vboxsf defaults 0 0
When I mount them that way, the files have a group of root:
-rw-r--rw-. 1 root root 106 Apr 11 2014 2048.txt
Is there something I can provide in the <options> section of fstab (currently "defaults") which will make the group vboxsf?
Shared folder group ownership and /etc/fstab
Re: Shared folder group ownership and /etc/fstab
Solved it by changing the fstab entry to :
Downloads /mnt/Downloads vboxsf uid=root,gid=vboxsf 0 0