Merge pull request #773 from rozuur/rozuur-chattr

chattr: add page
This commit is contained in:
Leandro Ostera 2016-02-16 18:17:12 +01:00
commit 8991253b8d

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