I'm running Windows 10 host and RHEL 4.7 guest using VirtualBox 6.1. I use VMs to build code changes which are delivered to our subs without having to travel to build on target consoles.
The problem is that when I copy files to the shared folder they are listed as being owned by 'root:vboxsf' and I'm not able to change that on the host. I need to be able to burn these files to CD/ISOs that are readable by proprietary console software that requires project-specific accounts, like 'tester:test_group'.
I've added my username (dev) to the vboxsf group with this command:
sudo gpasswd -a dev vboxsf
which I confirmed by doing
more /etc/group
and verifying that the line with vboxsf now includes 'dev', like this:
vboxsf:x:103:dev
This allows my userid to ls -al
the shared folders.
How can I control ownership of files in the shared folder?