From 8646830d9bffbcd1243db044eb141ac8ee5de8cd Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 21 May 2025 15:37:47 -0700 Subject: [PATCH] fuse2fs: enable processing of acls in the kernel Let the kernel process ACLs. Signed-off-by: Darrick J. Wong Link: https://lore.kernel.org/r/174786677747.1383760.17294624757826456720.stgit@frogsfrogsfrogs Signed-off-by: Theodore Ts'o --- misc/fuse2fs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index 77d8321..0fc6aed 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -4156,9 +4156,15 @@ int main(int argc, char *argv[]) #endif } - if (fctx.kernel) + if (fctx.kernel) { + /* + * ACLs are always enforced when kernel mode is enabled, to + * match the kernel ext4 driver which always enables ACLs. + */ + fctx.acl = 1; fuse_opt_insert_arg(&args, 1, "-oallow_other,default_permissions,suid,dev"); + } if (fctx.debug) { int i; -- 1.8.3.1