For some reason, neither chattr(1) nor this page document it; ext4 supports this (tmpfs and ZFS don't, didn't test more). 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
Attachment:
signature.asc
Description: PGP signature