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:
Marco Bonelli
2019-02-08 01:31:19 +01:00
committed by Starbeamrainbowlabs
parent ac4094e0ad
commit f79f6011e0
14 changed files with 34 additions and 34 deletions

View File

@@ -2,13 +2,13 @@
> Change user and group ownership of files and folders.
- Change the owner user of a file/folder:
- Change the owner user of a file/directory:
`chown {{user}} {{path/to/file}}`
`chown {{user}} {{path/to/file_or_directory}}`
- Change the owner user and group of a file/folder:
- Change the owner user and group of a file/directory:
`chown {{user}}:{{group}} {{path/to/file}}`
`chown {{user}}:{{group}} {{path/to/file_or_directory}}`
- Recursively change the owner of a folder and its contents:
@@ -18,6 +18,6 @@
`chown -h {{user}} {{path/to/symlink}}`
- Change the owner of a file/folder to match a reference file:
- Change the owner of a file/directory to match a reference file:
`chown --reference={{path/to/reference_file}} {{path/to/file}}`
`chown --reference={{path/to/reference_file}} {{path/to/file_or_directory}}`