e2fsprogs: Richacl support
Theodore Ts'o
tytso at mit.edu
Sun Oct 18 19:17:04 CDT 2015
On Mon, Oct 19, 2015 at 12:46:49AM +0200, Andreas Gruenbacher wrote:
> The filesystem sets the MS_POSIXACL super-block flag for POSIX ACLs or
> the MS_RICHACL super-block flag for richacls. These flags are checked
> with the IS_POSIXACL(inode) and IS_RICHACL(inode) macros.
Ah, OK. So it's either one thing or another.
> I can send the validation code; not sure how removing corrupt xattrs
> would fit into e2fsck though. Can e2fsck remove individual xattrs?
Yep. Using the libext2fs function ext2fs_xattr_remove(), in
lib/ext2fs/ext_attr.c. This requires the development branch of
e2fsprogs, but by adding a new feature flag, richacl is going to
require a 1.43 version of e2fsprogs (not yet released, but hopefully
will be released soon).
- Ted
More information about the xfs
mailing list