From: Darrick J. Wong <djwong@xxxxxxxxxx> Let the kernel process ACLs. Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> --- misc/fuse2fs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c index a0e5d601e55877..ce5314fa439090 100644 --- a/misc/fuse2fs.c +++ b/misc/fuse2fs.c @@ -4141,9 +4141,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;