macFUSE 5.5.0

FUSE file system support for Mac, no Recovery Mode reboot

Screenshots

Click to enlarge

macFUSE brings support for FUSE file systems to macOS, enabling third-party file systems to run as flexible user-space applications.

With the new FSKit backend in macFUSE, supported file systems can run entirely in user space on macOS 26. No rebooting into Recovery Mode is required to enable the macFUSE kernel extension, making installation faster and setup more seamless.

For Users

Install macFUSE to use compatible third-party FUSE file systems on your Mac. File systems are installed separately and can provide access to local storage, network resources, virtual data, and more.

For Developers

Use the macFUSE APIs and SDK to build custom file systems as regular macOS applications. Because FUSE file systems run in user space, development is easier, faster, and more flexible than building traditional in-kernel file systems.

You can use familiar programming tools, debuggers, and libraries, along with third-party bindings for languages such as Python, Java, C#, jаvascript, Go, and Rust.

FUSE file systems are also available across multiple platforms, including macOS, Linux, and Windows through third-party implementations. Build portable file systems with shared code and a consistent user experience across operating systems.

Whether you are using an existing file system or creating something new, macFUSE provides the foundation for extending how macOS works with files and data.

Version 5.5.0

General

  • Update the build process to use Xcode 27.1 (macOS 27.0 SDK)
  • Build user-space components for arm64e in addition to arm64 and x86_64 to support Xcode's enhanced security build settings

FSModule (FSKit Backend)

  • Fix Disk Arbitration integration for volumes mounted with the local option so they appear as local volumes in Finder and can be unmounted through Finder
  • Fix mounting on paths containing spaces and other non-ASCII characters
  • Add support for read-only mounts on macOS 26.4 and later
  • Add support for file preallocation through FUSE_FALLOCATE, using the same allocation flags as the kernel backend
  • Fix extended attribute removal by sending FUSE_REMOVEXATTR instead of setting the attribute to an empty value
  • Send FUSE_FLUSH when closing a file
  • FSKit does not expose a per-file fsync(2) callback. On macOS 27, its close callback cannot return errors, so flush failures are logged but cannot be reported to the application through close(2).
  • Mitigate a data corruption issue in FSKit on macOS 26 and 27 by rejecting empty FUSE_READ replies with EIO and clearing unused buffer tails after short reads
  • This workaround can cause read errors when a file's size changes remotely.
  • Add support for the daemon_timeout option and improve request cancellation by tracking FUSE_INTERRUPT requests, retrying interrupts after EAGAIN, and disconnecting unresponsive file system servers when interruption times out
  • Improve item reclamation on macOS 27 by protecting items until FSKit has registered returned references, coordinating reclamation with concurrent lookups, and balancing lookup references and file handles on error paths
  • Improve stability by validating incoming FUSE and XPC messages, checking buffer alignment, preventing request identifier collisions, and fixing races in request completion, cancellation, and timeout handling
  • Improve concurrency and add fast paths for uncontended locks and semaphores
  • Avoid repeated requests for access checks, flushes, preallocation, and file or directory synchronization when the file system server does not implement the corresponding callbacks
  • Keep named pipes metadata-only and reject stream operations, size changes, and preallocation locally
  • Fix a crash when mounting volumes using unsigned file system binaries on Intel Macs

Kernel Extension (Kernel Backend)

  • Update the kernel extension version to 5.5.0
  • Add support for remote POSIX and BSD advisory locking, allowing file system servers to coordinate fcntl(2) and flock(2) locks across clients
  • POSIX and BSD locking are negotiated independently. Local advisory locking remains available when neither capability is enabled. If only one family is enabled, requests for the other return ENOTSUP. Timed locks and PID-filtered lock queries are unsupported when remote locking is enabled.
  • File system servers must track lock ownership using fi->lock_owner independently of fi->fh, because multiple lock owners can share a FUSE file handle. Close-time unlocks are sent explicitly instead of being inferred from flush or release requests.
  • Add native I/O support for named pipes and character and block devices through macOS fifofs and specfs, while retaining FUSE namespace and metadata handling
  • Default kernel backend mounts to nodev to disable device access
  • Mounting with -o dev requires root privileges. Named pipes are unaffected by nodev.
  • Harden extended attribute reply handling by validating reply sizes before allocation and enforcing the advertised extended attribute size limit
  • Validate file types, sizes, block counts, timestamps, and cache timeouts before updating vnode state
  • Prevent duplicate request identifiers during concurrent allocation
  • Preserve request timeout deadlines across signal interruptions so repeated signals cannot extend waits indefinitely, and protect the FUSE_INIT handshake from signal interruption
  • Improve node locking by making attribute-refresh waits consistently uninterruptible

MFMount.framework

  • Verify the mount service's code signature when processing its reply and authenticate the FSKit channel peer before decoding its first message
  • Reject additional XPC channel connections to prevent other peers from injecting requests into the receive queue or invalidating the active channel
  • Improve XPC mount connection cleanup and cancel connections after mount requests complete
  • Avoid logging expected ENOENT errors when replies arrive after their requests have been interrupted or the volume has been unmounted
  • Please note that parts of the public MFMount.framework API may still change in future releases.

libfuse

  • Preserve POSIX lock ownership by skipping synthetic unlocks during FUSE_FLUSH on macOS, where close-time unlocks are sent explicitly
  • Forward BSD advisory locking through the threadid and volicon modules so stacking these modules preserves the underlying file system's locking support
  • Fix source builds with newer Autoconf and Gettext versions by allowing autopoint to install config.rpath on macOS

libfuse3

  • Update libfuse3 to version 3.18.3
  • Preserve POSIX lock ownership by skipping synthetic unlocks during FUSE_FLUSH on macOS, where close-time unlocks are sent explicitly
  • Include upstream fixes for multithreaded loop teardown, allocation failure handling, resource leaks, and iconv initialization
  • Disable fuse_session_custom_io() by default as part of the upstream security changes
  • The function returns -ENOTSUP unless the library is built with -Denable-custom-io=true. Custom I/O peers must validate protocol messages because libfuse relies on validation normally performed by the kernel.

Comments

No comments yet. Be the first.

Leave a comment

Sign in or create a free account to join the discussion.

Create account