From 8c2974c4a2b1e49db213dcae795fb6b22b9bce24 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 5 Jun 2025 05:36:18 +0300 Subject: [PATCH] chattr: add examples (#16753) --- pages/linux/chattr.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/linux/chattr.md b/pages/linux/chattr.md index 15430a652d..889ae9abf5 100644 --- a/pages/linux/chattr.md +++ b/pages/linux/chattr.md @@ -14,3 +14,11 @@ - Recursively make an entire directory and contents immutable: `chattr -R +i {{path/to/directory}}` + +- Mark a directory and its files to be interpreted in a case-insensitive manner: + +`chattr +F {{path/to/directory}}` + +- Set a file to only allow appending: + +`chattr +a {{path/to/file}}`