Re: [PATCH v13 21/51] ext4: Add richacl feature flag

2 messages, 2 authors, 2015-11-04 · open the first message on its own page

Re: [PATCH v13 21/51] ext4: Add richacl feature flag

From: Andreas Gruenbacher <hidden>
Date: 2015-11-04 02:28:03

Andreas,

On Wed, Nov 4, 2015 at 3:18 AM, Andreas Dilger [off-list ref] wrote:
This patch confuses me.  I thought the whole point of INCOMPAT_RICHACL
was that the filesystem should never, ever be mounted without ACL support
because the ACLs will get confused without it.  In that case, it doesn't
make sense to have a mount option that _has_ to be specified to mount the
filesystem, and returns an error when trying to disable it.

It makes more sense to just enable "acl" by default if INCOMPAT_RICHACL
is set in the superblock and not need the mount option at all.
It's the commit message that's misleading here, I'll fix it. On
richacl filesystems, the acl mount option is always on. It's only on
POSIX ACL filesystems that the mount option can be used to turn POSIX
ACLs off (which arguably wasn't such a good idea, but there we have
it).

Thanks,
Andreas

Re: [PATCH v13 21/51] ext4: Add richacl feature flag

From: Andreas Gruenbacher <agruenba@redhat.com>
Date: 2015-11-04 02:43:31

On Wed, Nov 4, 2015 at 3:28 AM, Andreas Gruenbacher [off-list ref] wrote:
It's the commit message that's misleading here, I'll fix it.
Commit message changed to:

    This feature flag selects richacl instead of POSIX ACL support on the
    filesystem.  When this feature is off, the "acl" and "noacl" mount options
    control whether POSIX ACLs are enabled.  When it is on, richacls are
    automatically enabled and using the "noacl" mount option leads to an error.

Thanks,
Andreas

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help