[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174786677747.1383760.17294624757826456720.stgit@frogsfrogsfrogs>
Date: Wed, 21 May 2025 15:37:47 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 11/29] fuse2fs: enable processing of acls in the kernel
From: Darrick J. Wong <djwong@...nel.org>
Let the kernel process ACLs.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
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;
Powered by blists - more mailing lists