Hi наб! On Fri, May 31, 2024 at 08:11:17PM GMT, наб wrote: > For some reason, neither chattr(1) nor this page document it; > ext4 supports this (tmpfs and ZFS don't, didn't test more). By "supports this" do you mean FS_APPEND_FL at all, or its behavior with dirs? Have a lovely day! Alex > > Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx> > --- > man/man2/ioctl_iflags.2 | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/man/man2/ioctl_iflags.2 b/man/man2/ioctl_iflags.2 > index 0f4c533bc..fb7036cc4 100644 > --- a/man/man2/ioctl_iflags.2 > +++ b/man/man2/ioctl_iflags.2 > @@ -44,6 +44,8 @@ .SH DESCRIPTION > The file can be opened only with the > .B O_APPEND > flag. > +If applied to a directory, forbids removing files from the directory > +.RB "(via " unlink "(), " rename "(), and the like)." > (This restriction applies even to the superuser.) > Only a privileged process > .RB ( CAP_LINUX_IMMUTABLE ) > -- > 2.39.2 -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature