Repository navigation
Breaking changes:
Request::uid()andRequest::gid()returnOption<u32>, since an idmapped mount has no caller
ids.experimental::RequestContext::user_id()andgroup_id()likewise returnOption<u32>- Add an
Ownerargument tomknod(),mkdir(),symlink(),create()andtmpfile(), and an
Option<Owner>argument torename() - Add a
kill_suid_gidargument tosetattr(),open()andcreate(), for
FUSE_HANDLE_KILLPRIV_V2 KernelConfig::add_capabilities()refuses capabilities fuser cannot honor, such as
FUSE_SECURITY_CTXandFUSE_OVER_IO_URINGKernelConfig::set_max_write()rejects values below 4096Session::new()rejectsMountOption::SubtypeandMountOption::CUSTOMvalues containing a
comma or backslash, and any mount option value containing a NUL- Dropping a
BackgroundSessionnow waits for the session to end, so thatFilesystem::destroy()
has run. Theguardfield is now private - Unmount lazily as root on Linux, instead of failing with
EBUSY.
BackgroundSession::umount_and_join()returnsEBUSYif the filesystem is still in use - macOS: forward the
renamex_np(2)flags torename(). Filesystems must replyEINVALto flags
they do not support - Remove the
macfuse-4-compatfeature flag
New features:
- Support idmapped mounts via
InitFlags::FUSE_ALLOW_IDMAP, which requiresallow_otherand
default_permissions - Support
InitFlags::FUSE_HANDLE_KILLPRIV_V2 - Support
InitFlags::FUSE_SETXATTR_EXT - Add
Filesystem::statx()(ABI 7.39) - Add
Filesystem::tmpfile()forO_TMPFILE - Add
Filesystem::syncfs() - Add
Notifier::inc_epoch()to invalidate every cached directory entry at once - Add
Notifier::expire_entry() - Add
remaining_capacity()toReplyDirectory,ReplyDirectoryPlusand the experimental
DirEntListBuilder - Add
TryFrom<&std::fs::Metadata>forFileAttr - Report ABI 7.44 to the kernel on non-macOS platforms, up from 7.40
Bug fixes:
- Fix unmounting with
MountOption::AutoUnmountfrom within the mounting process - Fix
Session::run()returning an error after the connection was aborted with
FUSE_ABORT_ERROR - Fix meaningless errors, such as
Success (os error 0), when mounting fails inside libfuse - Log which path could not be reached when a mount fails
- Fix teardown unmounting again after an external unmount, which could unmount an unrelated
filesystem mounted at the same path - Fix
MountOption::FSNamevalues containing a comma being parsed as further mount options - Report
fusermountunmount failures from the pure-rust andlibfuse2backends - Fix a per-mount memory leak in the
libfuse3backend - Fix corruption of pre-1970 timestamps with fractional seconds in
setattr() - macOS: fix garbled names in
rename()