Refactor: add missing or_directory
where needed.
This commit adds the missing `_or_directory` to any example which is specifying an action affecting a file or a directory, but uses the token `{{path/to/file}}` instead of `{{path/to/file_or_directory}}`.
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
ac4094e0ad
commit
f79f6011e0
@@ -2,13 +2,13 @@
|
||||
|
||||
> Change attributes of files or folders.
|
||||
|
||||
- Make a file or folder immutable to changes and deletion, even by superuser:
|
||||
- Make a file or directory immutable to changes and deletion, even by superuser:
|
||||
|
||||
`chattr +i {{path}}`
|
||||
`chattr +i {{path/to/file_or_directory}}`
|
||||
|
||||
- Make a file or folder mutable:
|
||||
- Make a file or directory mutable:
|
||||
|
||||
`chattr -i {{path}}`
|
||||
`chattr -i {{path/to/file_or_directory}}`
|
||||
|
||||
- Recursively make an entire folder and contents immutable:
|
||||
|
||||
|
Reference in New Issue
Block a user