1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 09:35:24 +02:00

chattr: add examples (#16753)

This commit is contained in:
Managor 2025-06-05 05:36:18 +03:00 committed by GitHub
parent 8fa247c3ba
commit 8c2974c4a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}}`