Skip to content

POSIX ACL config and mount option changes

Jan Kara ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ocfs2: Make ACLs always compiled into the kernelfs/ocfs2/Kconfig fs/ocfs2/Makefile fs/ocfs2/acl.h +3 more+3 -511 reply
1/3ocfs2: Make ACLs always compiled into the kernel+0 -02 replies
1/3ocfs2: Make ACLs always compiled into the kernel+0 -00 replies
2/3ocfs2: Change acl mount option handlingfs/ocfs2/ocfs2.h fs/ocfs2/super.c+49 -410 replies
3/3ocfs2: Set MS_POSIXACL on remountfs/ocfs2/super.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 0/3] POSIX ACL config and mount option changes

Hi,

we've discussed with Joel and Mark how to improve user experience
with ACL mount options. In the end we'va agreed on the following:

1) Rip out CONFIG_OCFS2_POSIX_ACL. The code is always built in.
2) Always enable acls if a filesystem has xattrs. This is a noop if no one ever calls setacl.
3) If a user explicitly puts -oacl on the mount command line, but the filesystem doesn't have xattrs, fail the mount. This is a safe place to catch people changing kernels, as a too-old kernel driver likely doesn't have xattrs anyway.
4) If a user explicitly puts -onoacl on the mount command line, they get

This patch series implements the changes. The last patch also fixes
a bug when acls are enabled only on remount.

Honza