Opened 4 years ago
#20168 new defect
Linux guest / Mac host - uid option stopped working
Reported by: | Richlv | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 6.1.18 |
Keywords: | ownership | Cc: | |
Guest type: | Linux | Host type: | Mac OS X |
Description
MacOS Catalina host, OpenSUSE Tumbleweed guest.
With Virtualbox 6.1.14, manually mounting a shared folder worked correctly with the "uid" option (owner of directories and files being set to the specified user).
After upgrading VBox, this parameter stopped working - mounted data is now owned by root. Latest test done with VBox 6.1.18 host and 6.1.18 guest tools.
> sudo mount -t vboxsf -o uid=$UID,gid=100 macroot ~/files/macroot > ls -ld /home/rich/files/macroot/Users/ drwxr-xr-x 1 root root 192 sep 22 00:27 /home/rich/files/macroot/Users/
This was discussed in SUSE bug https://bugzilla.suse.com/show_bug.cgi?id=1180761, with a working fix for Linux host in place - but apparently not working as expected on a Mac host.