Configuring VMware Fusion Shared Folders for Host-Guest File Integration
Learn how to implement VMware Fusion Shared Folders to bridge macOS and guest OS filesystems, including specific mount configurations for Linux and performance trade-offs.
19 May 2026, 21:00 UTC

The Problem: Moving Data Between macOS and Virtual Machines
Manually transferring files between a macOS host and a guest VM using USB drives, cloud storage, or SSH/FTP is inefficient for development workflows. The goal is to create a persistent, bidirectional bridge where a specific macOS directory appears as a native drive or folder within the guest OS, allowing real-time file editing across both environments.
The most effective solution is the Shared Folders feature in VMware Fusion. This mechanism uses a proprietary driver provided by VMware Tools to map host directories into the guest's filesystem without requiring a network configuration or an active internet connection.
How Shared Folders Work
Shared Folders rely on the Host-Guest File System (HGFS) protocol. Instead of simulating a network share (like SMB or NFS), VMware Fusion creates a specialized communication channel between the hypervisor and the guest kernel. This allows the guest OS to request file operations from the host as if they were local, though they are processed through a translation layer.
Prerequisite: VMware Tools
Shared Folders will not function without VMware Tools. This is a suite of drivers and utilities that optimize VM performance. To verify installation, check the Virtual Machine menu in the macOS menu bar; if Install VMware Tools or Update VMware Tools is visible, the driver is either missing or outdated.
Implementation Example: Linux Guest Configuration
While Windows guests typically map shared folders automatically as network drives, Linux guests often require a manual mount command to make the folders visible in the filesystem.
Step 1: Enable the Share in Fusion
- Shut down the VM or enter Settings.
- Navigate to Settings > Sharing.
- Check the Enable Shared Folders box.
- Click the (+) button to select a macOS folder (e.g.,
/Users/username/Projects). - Ensure the folder is set to Read/Write if the guest needs to modify files.
Step 2: Mount the Folder in the Guest
On most modern Linux distributions (Ubuntu, Fedora), the vmhgfs-fuse utility is used to mount the HGFS share to the /mnt/hgfs directory. Run the following commands as a user with sudo privileges:
# Create the mount point directory
sudo mkdir -p /mnt/hgfs
# Mount the shared folders using the FUSE driver
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
Step 3: Verification
To confirm the mount was successful, list the contents of the directory and check the loaded kernel modules:
# Check for visible folders
ls /mnt/hgfs
# Verify the hgfs driver is active
lsmod | grep hgfs
Step 4: Persistence (Optional)
To ensure the folder persists after a reboot, add the following line to /etc/fstab:
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
Performance and Compatibility Limits
| Constraint | Impact | Technical Reason |
|---|---|---|
| I/O Throughput | Lower than native disk | Translation overhead between macOS (APFS) and Guest (NTFS/EXT4) |
| Permissions | Metadata mismatch | Unix permissions on macOS do not map 1:1 to Windows ACLs |
| Case Sensitivity | Potential conflicts | macOS is typically case-insensitive; Linux is case-sensitive |
Common Mistake: Permission Denied Errors
Users often encounter "Permission Denied" errors when writing to a shared folder from a Linux guest. This usually happens because the vmhgfs-fuse mount was performed without the -o allow_other flag, restricting access solely to the root user. Always include this flag to allow standard user accounts to access the files.
Rollback and Removal
If the shared folder causes filesystem instability or conflicts with guest software, you can revert the state by following these steps:
- Guest: Unmount the directory using
sudo umount /mnt/hgfsand remove the entry from/etc/fstab. - Host: Go to Settings > Sharing in VMware Fusion and uncheck Enable Shared Folders.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.