Using qemu driver on a Mac M1, I’m mounting a directory with Mac uid/gid mapping:
multipass mount -u 501:1000 -g 20:1000 ~/Documents/vagrant ubuntu-lts:/vagrant
but in the guest vm, I can’t read files.
ls: reading directory '.': Permission denied
Oddly, I can’t
ls even as root. Running
file shows files as writeable but not readable. Newly created files on guest and host work fine. If I
ls -n newfile.txt, the uid/gid seem to match with permission 664. Is there something I’m missing?
Also, I tried using VirtualBox driver (VB ver7 installed) to test that, but multipass returned
set failed: Invalid setting 'local.driver=virtualbox': Invalid driver