bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64088] find should support file attribute flags (immutable, append


From: raf
Subject: [bug #64088] find should support file attribute flags (immutable, append-only, fscrypt, etc.)
Date: Fri, 2 Jun 2023 23:18:02 -0400 (EDT)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]