Skip to content

Releases

macFUSE 5.5.0

Choose a tag to compare

@bfleischer bfleischer released this 17 Oct 00:20
macfuse-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. This addresses #1198.

  • Add support for read-only mounts on macOS 26.4 and later. This addresses #1208.

  • 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. This addresses #1213.

  • Send FUSE_FLUSH when closing a file. This addresses #1214.

    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. This addresses #1188.

  • 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. This addresses #1205.

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. This addresses #1212

  • 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.

Sponsor

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.4.0

Choose a tag to compare

@bfleischer bfleischer released this 07 Sep 12:48
macfuse-5.4.0

General

  • Update the build process for the FSKit backend to use Xcode 27.0 (macOS 27 SDK). The remaining components are built with Xcode 26.6 (macOS 26.5 SDK)

  • Improve mount failure reporting and daemonization behavior for file systems using libfuse and libfuse3

  • Avoid following symbolic links when changing ownership of newly created mount points in /Volumes

FSModule (FSKit Backend)

  • Add support for the new macOS 27 FSKit volume operation APIs while retaining compatibility with earlier macOS releases

  • Forward the caller's effective user and group IDs to the file system server on macOS 27

  • Add item attribute caching based on the validity timeouts returned by the file system server

    Refresh or invalidate cached attributes when operations change them, and avoid unnecessary FUSE_SETATTR requests when no supported attributes remain to be applied.

  • Fix a bug that could cause small write requests to deliver zero-filled data to the file system server. This addresses #1187.

  • Fix a crash when the file system server returns an empty FUSE_READ reply, for example when reading past the end of a file. This addresses #1188.

  • Support reads without a preceding open call by opening a read-capable file handle on demand

    Reuse existing handles when their access modes are sufficient, and replace them with handles supporting the combined access modes when necessary. This addresses #1181.

  • Improve directory enumeration by validating cookies and verifiers and cleaning up remaining file and directory handles during close, reclaim, and item deactivation

  • Fix parent directory handling for hard-linked files and improve overwrite-rename behavior

    Avoid unsupported swap renames and use RENAME_EXCL only when extended rename support has been negotiated with the file system server. This addresses #1191.

  • Fall back to FUSE_MKNOD when the file system server does not implement FUSE_CREATE

  • Improve stability by fixing item lock ordering and lock state tracking, validating file system replies, and releasing lookup references and file handles on error paths

  • Create missing mount points in the requesting user's security context

    Only the final path component is created. Direct children of /Volumes are created by the daemon and then assigned to the requesting user.

  • Include fatal error messages in crash reports to improve diagnostics

Kernel Extension (Kernel Backend)

  • Update the kernel extension version to 5.4.0

  • Harden ioctl reply handling by validating response sizes and copying only the data returned by the file system server to prevent a potential kernel memory disclosure.

  • Fix a rare use-after-free when allocating a request buffer fails, and fix request ticket leaks when handling attributes, extended attributes, and inode invalidation notifications

  • Improve locking during mounting and connection teardown and validate request ticket state before processing replies

  • Prevent unexpected replies to FUSE_MONITOR requests from being matched to later requests. This addresses #1190.

  • Harden notification handling by validating protocol versions, session state, payload sizes, and names

    Improve directory entry invalidation and deletion handling, including clearing negative name cache entries and preserving open files after deletion notifications. Improve inode range invalidation to preserve dirty cached data and prevent range overflow.

  • Return ENOSYS for the recognized but unimplemented POLL, STORE, and RETRIEVE notifications

  • Restore normal mount state after an unsuccessful unmount attempt so file system operations and notifications can resume

  • Bound file system type and volume name validation to their input buffers, and update volume capability reporting for recent macOS versions

MFMount.framework

  • Add MFMountResultCreatingMountPointFailed to report that the requested mount point could not be created

    Display a localized alert with recovery guidance unless dialogs are suppressed by the caller

  • Close the channel before returning handled mount setup failures

  • Add Simplified Chinese, Japanese, French, Spanish, Korean, Brazilian Portuguese, Italian, and Traditional Chinese localizations

  • Remove the direct dependency on AppKit

  • Please note that parts of the public MFMount.framework API may still change in future releases.

libfuse

  • Wait for pending mount attempts to finish before the daemonizing parent process exits

    The parent now exits with a status reflecting whether mounting succeeded, allowing callers and scripts to detect mount failures. This addresses #1178.

  • Keep standard streams open while mounting so startup diagnostics remain visible, and redirect them only after successful completion

  • Warn when a process that has previously created additional threads calls fork(2), including calls made outside fuse_daemonize().

libfuse3

  • Fix decoding of rename requests when FUSE_DARWIN_CAP_RENAME_EXT is disabled or unsupported by the file system

  • Wait for pending mount attempts to finish before the daemonizing parent process exits

    The parent now exits with a status reflecting whether mounting succeeded, allowing callers and scripts to detect mount failures. This addresses #1178.

  • Keep standard streams open while mounting so startup diagnostics remain visible, and redirect them only after successful completion

  • Warn when a process that has previously created additional threads calls fork(2), including calls made outside fuse_daemonize().

Sponsor

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.3.3

Choose a tag to compare

@bfleischer bfleischer released this 04 Jul 12:38
macfuse-5.3.3

General

  • Update build process to use Xcode 26.6 (macOS 26.5 SDK)

  • Improve daemonization compatibility for file systems using the FSKit backend through libfuse and libfuse3

Kernel Extension (Kernel Backend)

  • Update the kernel extension version to 5.3.3

  • Add support for interrupting readers blocked on the FUSE device

    This is used by MFMount.framework to wake worker threads during teardown.

MFMount.framework

  • Add function MFChannelInterrupt()

    This allows callers to interrupt threads blocked in MFChannelCopyNextMessage() and MFChannelWaitForNextMessage() without closing the channel. When interrupted, both functions return an error and set errno to EINTR.

  • Make channel receives interruptible by SIGHUP, SIGINT, SIGTERM, and SIGPIPE

  • Add a cancel-safe C trampoline for Swift API entry points

    Swift code now runs with pthread cancellation disabled. Pending cancellation is delivered after returning from Swift to the C trampoline in the framework.

  • Use XPC lightweight code requirements on macOS 14.4 and later when verifying the mount service

  • Please note that parts of the MFMount.framework API may still change in future releases.

libfuse

  • Defer the actual macOS mount process until first session use

    This prevents XPC, DiskArbitration, CoreFoundation, and MFMount state from being created before daemonization in the normal fuse_main() flow.

  • Avoid forking in fuse_daemonize() after the macOS mount process has started

  • Improve signal handling on macOS by requesting an interrupt from the signal handler and performing the actual unmount from regular library code

  • Improve multithreaded loop teardown by interrupting the MFChannel after cancelling worker threads

  • Replace dispatch_semaphore_t with a pthread-based fallback and use timed waits where signal responsiveness is required

libfuse3

  • Defer the actual macOS mount process until first session use

    This prevents XPC, DiskArbitration, CoreFoundation, and MFMount state from being created before daemonization in the normal fuse_main() flow.

  • Avoid forking in fuse_daemonize() after the macOS mount process has started

  • Improve signal handling on macOS by routing interrupts through the normal unmount path

    For custom_io sessions, interrupts fall back to the regular session-exit behavior because libfuse3 does not own the mount lifecycle.

  • Improve multithreaded loop teardown by interrupting the MFChannel after cancelling worker threads

  • Replace dispatch_semaphore_t with a pthread-based fallback and use timed waits where signal responsiveness is required

Sponsor

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.3.2

macFUSE 5.3.2 Pre-release
Pre-release

Choose a tag to compare

@bfleischer bfleischer released this 17 Jun 11:41
macfuse-5.3.2

FSModule (FSKit Backend)

  • Include Swift compatibility library

    The file system extension requires libswiftCompatibilitySpan.dylib on macOS 15.

MFMount.framework

  • Include Swift compatibility library

    The swift-collections package requires libswiftCompatibilitySpan.dylib on macOS 15 and earlier. This addresses #1176.

  • Update the swift-collections package from version 1.4.1 to 1.6.0

  • Please note that parts of the MFMount.framework API may still change in future releases.

Sponsor

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.3.1

macFUSE 5.3.1 Pre-release
Pre-release

Choose a tag to compare

@bfleischer bfleischer released this 13 Jun 11:54
macfuse-5.3.1

General

  • Add initial support for macOS 27

  • Add initial support for Xcode 27

FSModule (FSKit Backend)

  • Use the node identifier and generation as the authoritative handle for file system items instead of the inode number. Perform FUSE_LOOKUP to get authoritative handle of directory entries returned by FUSE_READDIR

    Previous releases assumed that the node identifier and inode number were identical, as is the case when using the high level libfuse API without use_ino. This change removes that shortcut and resolves #1166 and #1167.

  • Improve stability by fixing a bug in open file handle management

  • Improve performance when preparing messages sent to the file system server

  • Improve performance when enumerating directories by using FUSE_BATCH_FORGET

Kernel Extension (Kernel Backend)

  • Update the kernel extension version to 5.3.1

  • Remove the file system item from the name cache when handling FUSE_NOTIFY_INVAL_ENTRY

    This ensures that the next lookup triggers a FUSE_LOOKUP request and resolves #1160.

  • Address an incompatibility with the macOS 27 SDK included in Xcode 27.0 beta 1

MFMount.framework

  • Turn MFChannelCreateWithDeviceFileDescriptor() into a weak import

    This function will be removed once MFMount() supports mounting volumes using the kernel backend. Check that the symbol is available before calling it.

  • Please note that parts of the MFMount.framework API may still change in future releases.

libfuse

  • Fix a path deadlock in the high level API when using VNOP_MONITOR. This adds the missing free_path() call in fuse_lib_monitor() and resolves #1168.

libfuse3

  • Fix a path deadlock in the high level API when using VNOP_MONITOR. This adds the missing free_path() call in fuse_lib_monitor() and resolves #1168.

Sponsor

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.3.0

macFUSE 5.3.0 Pre-release
Pre-release

Choose a tag to compare

@bfleischer bfleischer released this 07 Jun 23:07
macfuse-5.3.0

General

  • Update build process to use Xcode 26.5 (macOS 26.5 SDK)

  • Introduce a new channel API for exchanging FUSE messages with FUSE backends. The new API significantly improves I/O performance for volumes mounted using the FSKit backend.

FSModule (FSKit Backend)

  • Add support for the new channel API provided by MFMount.framework

  • Add support for the new FUSE_INIT flags FUSE_DARWIN_REPLY_BUF and FUSE_DARWIN_PAYLOAD_BUF. The flags allow for zero-copy reads and writes.

  • Substantially improve I/O performance. Tests with the LoopbackFS reference file system show that reading files is up to 15 times faster than in previous releases.

  • Improve stability by addressing a race condition when accessing cached volume statistics that could cause the file system extension to crash.

MFMount.framework

  • Introduce a new channel API for exchanging FUSE messages with the FSKit Backend and the Kernel Backend.

    MFMount.framework is intended for developers porting FUSE user-space libraries to macOS, or adapting existing libraries to support mounting volumes using the FSKit backend. The framework handles the mount operation and provides a C API for communicating with the backend.

    The new channel API exposes FUSE messages as borrowed buffers instead of requiring callers to copy each message into a single contiguous buffer. This allows for zero-copy reads and writes for large payloads when using the FSKit backend.

    • Add MFChannelRef for message-oriented communication with a backend. A channel is associated with a volume when the volume is mounted.
    • Add MFMessageRef for inspecting received FUSE messages
    • Add support for transport-provided reply buffers, allowing read replies to be written directly into the destination buffer
    • Add blocking, non-blocking, and polling-style receive APIs

    Please note that parts of the MFMount.framework API may still change in future releases.

libfuse

  • Add support for the new channel API provided by MFMount.framework

libfuse3

  • Add support for the new channel API provided by MFMount.framework

Sponsors

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.2.0

Choose a tag to compare

@bfleischer bfleischer released this 09 Apr 14:13
macfuse-5.2.0

General

  • Update build process to use Xcode 26.4 (macOS 26.4 SDK)

  • Introduce a new open source API for mounting volumes using the FSKit backend. The new API enables fully sandboxed file systems, which was not previously possible.

    • The actual mount operation is performed over XPC. This means the FSKit backend does no longer rely on fork()/exec() to mount volumes.
    • The new API is already used by libfuse and libfuse3
    • When sandboxing your file system server, add a Mach lookup exception for the io.macfuse.mount service
    • The new MFMount.framework is located in /Library/Filesystems/macfuse.fs/Contents/Frameworks
    • Please note that the new API may change in future releases

FSModule (FSKit Backend)

  • Add support for a file system item's allocation size. Sparse files are not currently supported, so the value of this attribute is the item's size.

  • Add a workaround for an FSKit/PluginKit issue that could prevent macFUSE volumes from being mounted after re-registering an already registered file system extension, requiring a restart of the FSKit subsystem.

  • Remove the obsolete broker launch daemon io.macfuse.app.launchservice.broker, which was previously used to establish a connection between the file system extension and the file system server.

  • Improve the built-in log command to detect whether the output destination supports colored output. This is useful when piping log output to a file.

    % /Library/Filesystems/macfuse.fs/Contents/Resources/macfuse.app/Contents/MacOS/macfuse log stream
    Executing /usr/bin/log stream --debug --info --predicate "subsystem in { 'com.apple.FSKit', 'com.apple.LiveFS', 'io.macfuse' }" --color always
    Filtering the log data using "subsystem IN {"com.apple.FSKit", "com.apple.LiveFS", "io.macfuse"}"
    ...
    
  • Improve the built-in install command to support selecting which components to install. Supported options are privileged-helpers, file-system-extensions, and all. Omitting the component is equivalent to specifying all.

    % /Library/Filesystems/macfuse.fs/Contents/Resources/macfuse.app/Contents/MacOS/macfuse install --help  
    USAGE: macfuse install [--components <components> ...] [--force]
    
    OPTIONS:
      -c, --components <components>
                              Components to install (default: all)
      -f, --force
      -h, --help              Show help information.
    
  • Introduce foundational changes in preparation for new features in macFUSE 5.3

libfuse

  • Use new mount API MFMount.framework for mounting volumes using the FSKit backend

libfuse3

  • Update libfuse3 to version 3.18.2

  • Use new mount API MFMount.framework for mounting volumes using the FSKit backend

  • Fix a bug when handling FUSE_RENAME messages with FUSE_DARWIN_CAP_RENAME_EXT enabled that could cause the source and destination file names to be parsed incorrectly.

Sponsor

  • Work on this release has been sponsored by uint24 and others

  • Your support is important to sustaining the future development of this project. If macFUSE makes your life easier, consider sponsoring the project through GitHub Sponsors.

macFUSE 5.1.3

Choose a tag to compare

@bfleischer bfleischer released this 23 Dec 21:35
macfuse-5.1.3

General

  • Update build process to use Xcode 26.2 (macOS 26.2 SDK)

Kernel Extension (Kernel Backend)

  • Update kernel extension to version 5.1.3

  • Add special handling for the O_EXEC open flag to prevent a kernel panic. Internally, O_EXEC is treated as O_RDONLY, meaning a readable file descriptor will be requested from the file system server. For details, see #1130.

FSModule (FSKit Backend)

  • Introduce foundational changes in preparation for new features in macFUSE 5.2

libfuse3

  • Fix an issue that resulted in the extended attribute name passed to the setxattr handler always being an empty string. On macOS, FUSE_COMPAT_SETXATTR_IN_SIZE needs to account for the additional position field and its associated padding. For details, see #1134.

macFUSE 5.1.2

Choose a tag to compare

@bfleischer bfleischer released this 20 Nov 00:52
macfuse-5.1.2

FSModule (FSKit Backend)

  • Improve automatic file system extension registration

    The file system extensions are registered automatically before mounting a volume and can be registered manually using the install subcommand. The --force flag removes any duplicate extensions before registering the current set.

    /Library/Filesystems/macfuse.fs/Contents/Resources/macfuse.app/Contents/MacOS/macfuse install --force
    
  • Add support for streaming logs using the log subcommand

    /Library/Filesystems/macfuse.fs/Contents/Resources/macfuse.app/Contents/MacOS/macfuse log stream
    
  • Resolve compatibility issues with legacy versions of macOS

    Previous releases installed the io.macfuse.app.launchservice.broker launch service on unsupported versions of macOS, which could result in the service crashing and the installer hanging. This release removes the service on unsupported versions of macOS.

macFUSE 5.1.1

Choose a tag to compare

@bfleischer bfleischer released this 08 Nov 00:55
macfuse-5.1.1

Kernel Extension (Kernel Backend)

  • Update kernel extension to version 5.1.1

  • Disable VNOP_MONITOR support on macOS 15. VNOP_MONITOR was introduced in macOS 15.4. Disable the feature on macOS 15 to maintain compatibility with macOS versions before 15.4.