1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 07:38:06 +01:00

chattr: add page

This commit is contained in:
Naveen Vardhi 2016-02-16 13:44:30 +05:30
parent 4fa8d38779
commit 10306395e5

15
pages/linux/chattr.md Normal file
View file

@ -0,0 +1,15 @@
# chattr
> Change attributes of files or folders.
- Make a file or folder immutable to changes and deletion, even by superuser:
`chattr +i {{path}}`
- Make a file or folder mutable:
`chattr -i {{path}}`
- Recursively make an entire folder and contents immutable:
`chattr -R +i {{folder}}`