[bug #58941] wishlist: Support for -xattr -xattrname

Tavian Barnes <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #7, bug #58941 (group findutils):

[comment #5 comment #5:]
> bug #64088 specifically concerned the attributes append-only, immutable,
nodump, fscrypt, verity, dax, projinherit

Those are not technically extended attributes.  getxattr(2) and friends don't
return them.  They are inode flags, queried/set by ioctl_iflags(2) on Linux.

[comment #6 comment #6:]
> By now, probably several find implementations have this or similar features.
 We should try to avoid introducing gratuitous incompatibilities.   That could
mean more than one new test could be needed.

BSD find uses -flags for something similar.  I think GNU find should also use
-flags for inode flags on Linux.  It could use the same syntax as chattr(1),
much like how -perm uses the same syntax as chmod(1).

On BSD it should use st_flags and strtofflags(3) to be compatible with the
system find(1).


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58941>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.