[bug #64088] find should support file attribute flags (immutable, append-only, fscrypt, etc.)

raf <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #2, bug #64088 (project findutils):

[comment #0 original submission:]
>     ioctl(fd, FS_IOC_GETFLAGS, &flags);

On some other systems, it's easier. FreeBSD, OpenBSD, NetBSD, and macOS
(probably all BSDs) have an st_flags field in their stat structure, and these
attributes/flags are there. But which flags are available differ between
systems. The symbols for them are defined in <sys/stat.h>, and the user-facing
names (and some aliases) are listed in the respective manual entries for
chflags(1).


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
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.